Changeset 1521
- Timestamp:
- 06/05/2009 10:06:23 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1518 r1521 40 40 /* If BP_DISABLE_ADMIN_BAR is defined, do not load the global admin bar */ 41 41 if ( !defined( 'BP_DISABLE_ADMIN_BAR') ) 42 require ( 'bp-core/bp-core-adminbar.php' );42 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-adminbar.php' ); 43 43 44 44 /* Define the slug for member pages and the members directory (e.g. domain.com/[members] ) */ -
trunk/bp-forums.php
r1460 r1521 12 12 13 13 if ( is_admin() ) 14 require ( 'bp-forums/bp-forums-admin.php' );14 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-admin.php' ); 15 15 16 16 function bp_forums_setup() { -
trunk/bp-loader.php
r1463 r1521 17 17 */ 18 18 19 require_once( 'bp-core.php' );19 require_once( WP_PLUGIN_DIR . '/buddypress/bp-core.php' ); 20 20 $deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) ); 21 21 22 22 /* Activity Streams */ 23 23 if ( !isset( $deactivated['bp-activity.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-activity.php') ) 24 include( 'bp-activity.php' );24 include( BP_PLUGIN_DIR . '/bp-activity.php' ); 25 25 26 26 /* Blog Tracking */ 27 27 if ( !isset( $deactivated['bp-blogs.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-blogs.php') ) 28 include( 'bp-blogs.php' );28 include( BP_PLUGIN_DIR . '/bp-blogs.php' ); 29 29 30 30 /* bbPress Forum Integration */ 31 31 if ( !isset( $deactivated['bp-forums.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-forums.php') ) 32 include( 'bp-forums.php' );32 include( BP_PLUGIN_DIR . '/bp-forums.php' ); 33 33 34 34 /* Friend Connections */ 35 35 if ( !isset( $deactivated['bp-friends.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-friends.php') ) 36 include( 'bp-friends.php' );36 include( BP_PLUGIN_DIR . '/bp-friends.php' ); 37 37 38 38 /* Groups Support */ 39 39 if ( !isset( $deactivated['bp-groups.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-groups.php') ) 40 include( 'bp-groups.php' );40 include( BP_PLUGIN_DIR . '/bp-groups.php' ); 41 41 42 42 /* Private Messaging */ 43 43 if ( !isset( $deactivated['bp-messages.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-messages.php') ) 44 include( 'bp-messages.php' );44 include( BP_PLUGIN_DIR . '/bp-messages.php' ); 45 45 46 46 /* Wire Support */ 47 47 if ( !isset( $deactivated['bp-wire.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-wire.php') ) 48 include( 'bp-wire.php' );48 include( BP_PLUGIN_DIR . '/bp-wire.php' ); 49 49 50 50 /* Extended Profiles */ 51 51 if ( !isset( $deactivated['bp-xprofile.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-xprofile.php') ) 52 include( 'bp-xprofile.php' );52 include( BP_PLUGIN_DIR . '/bp-xprofile.php' ); 53 53 54 54 ?> -
trunk/bp-messages.php
r1512 r1521 8 8 define ( 'BP_MESSAGES_SLUG', 'messages' ); 9 9 10 require ( 'bp-messages/bp-messages-classes.php' );11 require ( 'bp-messages/bp-messages-ajax.php' );12 require ( 'bp-messages/bp-messages-cssjs.php' );13 require ( 'bp-messages/bp-messages-templatetags.php' );14 require ( 'bp-messages/bp-messages-filters.php' );10 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-ajax.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-templatetags.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-filters.php' ); 15 15 16 16 /**************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.