Changeset 1209 for trunk/bp-core.php
- Timestamp:
- 03/15/2009 07:43:18 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1195 r1209 15 15 16 16 /* Load the language file */ 17 if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . get_locale() . '.mo' ) )18 load_textdomain( 'buddypress', ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . get_locale() . '.mo' );17 if ( file_exists( WPMU_PLUGIN_DIR . '/bp-languages/buddypress-' . get_locale() . '.mo' ) ) 18 load_textdomain( 'buddypress', WPMU_PLUGIN_DIR . '/bp-languages/buddypress-' . get_locale() . '.mo' ); 19 19 20 20 /* Place your custom code (actions/filters) in a file called bp-custom.php and it will be loaded before anything else. */ 21 if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-custom.php' ) )22 require_once( ABSPATH . MUPLUGINDIR . '/bp-custom.php' );21 if ( file_exists( WPMU_PLUGIN_DIR . '/bp-custom.php' ) ) 22 require_once( WPMU_PLUGIN_DIR . '/bp-custom.php' ); 23 23 24 24 /* Functions to handle pretty URLs and breaking them down into usable variables */ … … 164 164 $bp->is_item_mod = false; 165 165 166 $bp->core->image_base = site_url( MUPLUGINDIR . '/bp-core/images' );166 $bp->core->image_base = WPMU_PLUGIN_URL . '/bp-core/images'; 167 167 $bp->core->table_name_notifications = $wpdb->base_prefix . 'bp_notifications'; 168 168
Note: See TracChangeset
for help on using the changeset viewer.