Ticket #2544: 2544.diff
File 2544.diff, 1.3 KB (added by , 19 years ago) |
---|
-
wp-admin/setup-config.php
13 13 $step = 0; 14 14 if(isset($_GET['step'])) $step = $_GET['step']; 15 15 header( 'Content-Type: text/html; charset=utf-8' ); 16 ?> 16 17 function setup_header() { ?> 17 18 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 18 19 <html xmlns="http://www.w3.org/1999/xhtml"> 19 20 <head> … … 50 51 <body> 51 52 <h1 id="logo"><a href="http://wordpress.org/"><span>WordPress</span></a></h1> 52 53 <?php 54 } 53 55 54 56 switch($step) { 55 57 case 0: 58 setup_header(); 56 59 ?> 60 57 61 <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> 58 62 <ol> 59 63 <li>Database name</li> … … 68 72 break; 69 73 70 74 case 1: 75 setup_header(); 71 76 ?> 72 77 </p> 73 78 <form method="post" action="setup-config.php?step=2"> … … 145 150 } 146 151 fclose($handle); 147 152 chmod('../wp-config.php', 0666); 153 setup_header(); 148 154 ?> 149 155 <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> 150 156 <?php