X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..ae01624bdce6b71c47e08e8a0287de58284a6b73:/wp-load.php diff --git a/wp-load.php b/wp-load.php index 7f396406..7cb70f6a 100644 --- a/wp-load.php +++ b/wp-load.php @@ -39,11 +39,13 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { // A config file doesn't exist // Set a path for the link to the installer - if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = ''; - else $path = 'wp-admin/'; + if ( strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false ) + $path = ''; + else + $path = 'wp-admin/'; // Die with an error message - require_once( ABSPATH . '/wp-includes/classes.php' ); + require_once( ABSPATH . '/wp-includes/class-wp-error.php' ); require_once( ABSPATH . '/wp-includes/functions.php' ); require_once( ABSPATH . '/wp-includes/plugin.php' ); $text_direction = /*WP_I18N_TEXT_DIRECTION*/"ltr"/*/WP_I18N_TEXT_DIRECTION*/; @@ -51,4 +53,4 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { } -?> +?> \ No newline at end of file