Make WordPress Core

Changeset 3643


Ignore:
Timestamp:
03/14/2006 07:42:14 AM (19 years ago)
Author:
ryan
Message:

setup-config fix from David House. fixes #2544

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r3517 r3643  
    1414if(isset($_GET['step'])) $step = $_GET['step'];
    1515header( 'Content-Type: text/html; charset=utf-8' );
    16 ?>
     16
     17function setup_header() { ?>
    1718<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    1819<html xmlns="http://www.w3.org/1999/xhtml">
     
    5152<h1 id="logo"><a href="http://wordpress.org/"><span>WordPress</span></a></h1>
    5253<?php
     54}
    5355
    5456switch($step) {
    5557    case 0:
     58    setup_header();
    5659?>
     60
    5761<p>Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.</p>
    5862<ol>
     
    6973
    7074    case 1:
     75    setup_header();
    7176    ?>
    7277</p>
     
    146151    fclose($handle);
    147152    chmod('../wp-config.php', 0666);
     153    setup_header();
    148154?>
    149155<p>All right sparky! You've made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to <a href="install.php">run the install!</a></p>
Note: See TracChangeset for help on using the changeset viewer.