Changeset 1318

Show
Ignore:
Timestamp:
09/01/08 18:44:51 (3 months ago)
Author:
_ck_
Message:

0.1.10 workaround for bbPress's buggy activation hook under Windows

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-attachments/trunk/bb-attachments.php

    r1231 r1318  
    66Author: _ck_ 
    77Author URI: http://bbShowcase.org 
    8 Version: 0.1.9 
     8Version: 0.1.10 
    99 
    1010License: CC-GNU-GPL http://creativecommons.org/licenses/GPL/2.0/ 
     
    7272add_action( 'bb_post.php', 'bb_attachments_process_post'); 
    7373add_filter('post_text', 'bb_attachments_bbcode',250);    
    74 bb_register_activation_hook( __FILE__, 'bb_attachments_install'); 
     74bb_register_activation_hook(str_replace(array(str_replace("/","\\",BB_PLUGIN_DIR),str_replace("/","\\",BB_CORE_PLUGIN_DIR)),array("user#","core#"),__FILE__), 'bb_attachments_install'); 
    7575 
    7676function bb_attachments_init() {