Changeset 14014 for trunk/bp-loader.php
- Timestamp:
- 09/02/2024 10:45:11 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-loader.php
r13953 r14014 20 20 * Text Domain: buddypress 21 21 * Domain Path: /bp-languages/ 22 * Requires PHP: 5.623 * Requires at least: 6. 122 * Requires PHP: 7.0 23 * Requires at least: 6.4 24 24 * Version: 15.0.0-alpha 25 25 */ … … 29 29 30 30 // Assume you want to load from build 31 $bp_loader = dirname( __FILE__ ). '/build/bp-loader.php';31 $bp_loader = __DIR__ . '/build/bp-loader.php'; 32 32 33 33 // Load from source if no build exists 34 34 if ( ! file_exists( $bp_loader ) || defined( 'BP_LOAD_SOURCE' ) ) { 35 $bp_loader = dirname( __FILE__ ). '/src/bp-loader.php';35 $bp_loader = __DIR__ . '/src/bp-loader.php'; 36 36 $bp_subdir = 'src'; 37 37 } else { … … 52 52 53 53 // Include BuddyPress 54 include( $bp_loader );54 require $bp_loader; 55 55 56 56 // Unset vars that were invoked in global scope
Note: See TracChangeset
for help on using the changeset viewer.