Changeset 37207
- Timestamp:
- 04/14/2016 05:52:02 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/load-scripts.php
r36312 r37207 9 9 10 10 /** Set ABSPATH for execution */ 11 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 11 if ( ! defined( 'ABSPATH' ) ) { 12 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 13 } 14 12 15 define( 'WPINC', 'wp-includes' ); 13 16 -
trunk/src/wp-admin/load-styles.php
r36341 r37207 9 9 10 10 /** Set ABSPATH for execution */ 11 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 11 if ( ! defined( 'ABSPATH' ) ) { 12 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 13 } 14 12 15 define( 'WPINC', 'wp-includes' ); 13 16 -
trunk/src/wp-admin/setup-config.php
r36872 r37207 29 29 error_reporting(0); 30 30 31 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 31 if ( ! defined( 'ABSPATH' ) ) { 32 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 33 } 32 34 33 35 require( ABSPATH . 'wp-settings.php' ); -
trunk/src/wp-load.php
r35547 r37207 20 20 21 21 /** Define ABSPATH as this file's directory */ 22 define( 'ABSPATH', dirname(__FILE__) . '/' ); 22 if ( ! defined( 'ABSPATH' ) ) { 23 define( 'ABSPATH', dirname( __FILE__ ) . '/' ); 24 } 23 25 24 26 error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
Note: See TracChangeset
for help on using the changeset viewer.