Changeset 1309
- Timestamp:
- 04/03/2009 05:56:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1308 r1309 15 15 16 16 /* Define the path and url of the BuddyPress plugins directory */ 17 $bpdir = str_replace( WP_PLUGIN_DIR, '', dirname(__FILE__) );18 define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . $bpdir );19 define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . $bpdir );17 $bpdir = array_pop( explode( DIRECTORY_SEPARATOR, dirname(__FILE__) ) ); 18 define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . $bpdir ); 19 define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . '/' . $bpdir ); 20 20 21 21 /* Place your custom code (actions/filters) in a file called bp-custom.php and it will be loaded before anything else. */
Note: See TracChangeset
for help on using the changeset viewer.