]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-load.php
Wordpress 3.1-scripts
[autoinstalls/wordpress.git] / wp-load.php
index 7f396406e6e2d58d8b52105731f07491cdf5d7bf..7cb70f6af7a94fdebd3fa6b5ed2452c0a91805ac 100644 (file)
@@ -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