X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9cd344f9b14dd8e0743c1417fdb379b1431c3988..caeaf8dc94b5e3f75dc98ec92dc7b76049cdddb6:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 0e9b87b9..93c9d72f 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,81 +6,158 @@ * @subpackage Administration */ +// Sanity check. +if ( false ) { +?> + + +
+ +WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
+ + + - + > + -ERROR: %s'), $error); ?>
+ - '.__('Already Installed').''.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
');} +if ( is_blog_installed() ) { + display_header(); + die( '' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '