X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/67f24b02807a1ff7e9d1a97453ed84c404c0af0f..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 4e97f02f..edbc8c01 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,145 +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.' ) . '