Changeset 8740 for trunk/bp-loader.php
- Timestamp:
- 07/30/2014 08:40:27 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/bp-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-loader.php
r8523 r8740 31 31 if ( ! file_exists( $bp_loader ) || defined( 'BP_LOAD_SOURCE' ) ) { 32 32 $bp_loader = dirname( __FILE__ ) . '/src/bp-loader.php'; 33 $subdir = 'src'; 34 } else { 35 $subdir = 'build'; 36 } 37 38 // Set source subdirectory 39 define( 'BP_SOURCE_SUBDIRECTORY', $subdir ); 40 41 // Define overrides - only applicable to those running trunk 42 if ( ! defined( 'BP_PLUGIN_DIR' ) ) { 43 define( 'BP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 44 } 45 if ( ! defined( 'BP_PLUGIN_URL' ) ) { 46 // Be nice to symlinked directories 47 define( 'BP_PLUGIN_URL', plugins_url( trailingslashit( basename( constant( 'BP_PLUGIN_DIR' ) ) ) ) ); 33 48 } 34 49
Note: See TracChangeset
for help on using the changeset viewer.