X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..refs/tags/wordpress-2.7.1:/wp-admin/install.php?ds=sidebyside
diff --git a/wp-admin/install.php b/wp-admin/install.php
index 6f4d7e3e..de5b970d 100644
--- a/wp-admin/install.php
+++ b/wp-admin/install.php
@@ -1,19 +1,38 @@
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.", "WordPress › Error");
-}
-require_once('../wp-config.php');
+/** Load WordPress Bootstrap */
+require_once('../wp-load.php');
+
+/** Load WordPress Administration Upgrade API */
require_once('./includes/upgrade.php');
if (isset($_GET['step']))
$step = $_GET['step'];
else
$step = 0;
-function display_header(){
+
+/**
+ * Display install header.
+ *
+ * @since unknown
+ * @package WordPress
+ * @subpackage Installer
+ */
+function display_header() {
header( 'Content-Type: text/html; charset=utf-8' );
?>
@@ -21,7 +40,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
ReadMe documentation at your leisure. Otherwise, just fill in the information below and you\'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?>
- +