X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3f5685912e89eb3b0534acd85aa0946b1ca2bbe3..596d585e1dc1eb25bccd3781e37210a4e2504179:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 8531a4b3..e39d1f4f 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,145 +6,242 @@ * @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.' ) . '