From 4b7d1d077d6f5a2f454296a169d43cfdc48488ef Mon Sep 17 00:00:00 2001
From: ryan
Date: Tue, 14 Mar 2006 07:42:14 +0000
Subject: [PATCH] setup-config fix from David House. fixes #2544
git-svn-id: http://svn.automattic.com/wordpress/trunk@3643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/setup-config.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
index d2c28297d..2d6d92d05 100644
--- a/wp-admin/setup-config.php
+++ b/wp-admin/setup-config.php
@@ -13,7 +13,8 @@ if (!is_writable('../')) die("Sorry, I can't write to the directory. You'll have
$step = 0;
if(isset($_GET['step'])) $step = $_GET['step'];
header( 'Content-Type: text/html; charset=utf-8' );
-?>
+
+function setup_header() { ?>
@@ -50,10 +51,13 @@ header( 'Content-Type: text/html; charset=utf-8' );
+
Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.
- Database name
@@ -68,6 +72,7 @@ switch($step) {
break;
case 1:
+ setup_header();
?>