Changeset 47198 for trunk/src/index.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r47122 r47198 9 9 /** Define ABSPATH as this file's directory */ 10 10 if ( ! defined( 'ABSPATH' ) ) { 11 define( 'ABSPATH', dirname( __FILE__ ). '/' );11 define( 'ABSPATH', __DIR__ . '/' ); 12 12 } 13 13 … … 18 18 19 19 define( 'WPINC', 'wp-includes' ); 20 require_once ( ABSPATH . WPINC . '/load.php' );20 require_once ABSPATH . WPINC . '/load.php'; 21 21 22 22 // Standardize $_SERVER variables across setups. 23 23 wp_fix_server_vars(); 24 24 25 require_once ( ABSPATH . WPINC . '/functions.php' );25 require_once ABSPATH . WPINC . '/functions.php'; 26 26 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); 27 require_once ( ABSPATH . WPINC . '/version.php' );27 require_once ABSPATH . WPINC . '/version.php'; 28 28 29 29 wp_check_php_mysql_versions();
Note: See TracChangeset
for help on using the changeset viewer.