X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fd1685fbc29cf422e0d23f1bf1815bc023be805d..96bc8e88cf39086a9e0a883b8e2c311fe82a5e97:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index a9579ff4..edbc8c01 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,139 +6,237 @@ * @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.' ) . '