-
+ A1722B9A3C3B07D2FF62AA1610ED22A3E6FC37B33E712BDF5897F84C30D8BBB391E8FE2B634A4C8FBFCA5EC47E4E9F9D4737999F02F5CAE6BDAD4389F0B0E11C
mp-wp/wp-load.php
(0 . 0)(1 . 50)
159679 <?php
159680 /**
159681 * Bootstrap file for setting the ABSPATH constant
159682 * and loading the wp-config.php file. The wp-config.php
159683 * file will then load the wp-settings.php file, which
159684 * will then set up the WordPress environment.
159685 *
159686 * If the wp-config.php file is not found then an error
159687 * will be displayed asking the visitor to set up the
159688 * wp-config.php file.
159689 *
159690 * Will also search for wp-config.php in WordPress' parent
159691 * directory to allow the WordPress directory to remain
159692 * untouched.
159693 *
159694 * @package WordPress
159695 */
159696
159697 /** Define ABSPATH as this files directory */
159698 define( 'ABSPATH', dirname(__FILE__) . '/' );
159699
159700 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
159701
159702 if ( file_exists( ABSPATH . 'wp-config.php') ) {
159703
159704 /** The config file resides in ABSPATH */
159705 require_once( ABSPATH . 'wp-config.php' );
159706
159707 } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-load.php' ) ) {
159708
159709 /** The config file resides one level below ABSPATH */
159710 require_once( dirname(ABSPATH) . '/wp-config.php' );
159711
159712 } else {
159713
159714 // A config file doesn't exist
159715
159716 // Set a path for the link to the installer
159717 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '';
159718 else $path = 'wp-admin/';
159719
159720 // Die with an error message
159721 require_once( ABSPATH . '/wp-includes/classes.php' );
159722 require_once( ABSPATH . '/wp-includes/functions.php' );
159723 require_once( ABSPATH . '/wp-includes/plugin.php' );
159724 wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/"WordPress › Error"/*/WP_I18N_ERROR_TITLE*/);
159725
159726 }
159727
159728 ?>