X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/54fb5972b908f9c2b16cd82cee580bcf61565873..58b0523c599c731e868bd4bc05b0d686a98d254f:/wp-admin/install.php
diff --git a/wp-admin/install.php b/wp-admin/install.php
index ffa33ce7..6f317cfb 100644
--- a/wp-admin/install.php
+++ b/wp-admin/install.php
@@ -1,226 +1,307 @@
wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.");
-
-require_once('../wp-config.php');
-require_once('./upgrade-functions.php');
-
-$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
-$guessurl = str_replace('/wp-admin/install.php?step=2', '', $schema . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) );
-
-if (isset($_GET['step']))
- $step = $_GET['step'];
-else
- $step = 0;
-header( 'Content-Type: text/html; charset=utf-8' );
+/**
+ * WordPress Installer
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+// Sanity check.
+if ( false ) {
?>
-
+
'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
'); -$wpdb->show_errors(); - -switch($step) { - - case 0: -?> -ReadMe documentation at your leisure.'), '../readme.html'); ?>
-WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
+ +