Changeset 1245 for trunk/wp-admin/install.php
- Timestamp:
- 05/09/2004 05:47:02 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r1189 r1245 1 1 <?php 2 2 $_wp_installing = 1; 3 if (!file_exists('../wp-config.php')) die( "There doesn't seem to be a wp-config.php file. You must create one (<a href='install-config.php'>attempt automatically</a>) before moving on.");3 if (!file_exists('../wp-config.php')) die(__("There doesn't seem to be a wp-config.php file. You must create one (<a href='install-config.php'>attempt automatically</a>) before moving on.")); 4 4 require_once('../wp-config.php'); 5 5 require('upgrade-functions.php'); 6 6 7 $step = $_GET['step']; 8 if (!$step) $step = 0; 7 if (isset($_GET['step'])) 8 $step = $_GET['step']; 9 else 10 $step = 0; 9 11 ?> 10 12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … … 49 51 $wpdb->hide_errors(); 50 52 $installed = $wpdb->get_results("SELECT * FROM $tableusers"); 51 if ($installed) die( '<p>You appear to already have WordPress installed. If you would like to reinstall please clear your old database files first.</p></body></html>');53 if ($installed) die(__('<p>You appear to already have WordPress installed. If you would like to reinstall please clear your old database files first.</p></body></html>')); 52 54 $wpdb->show_errors(); 53 55 switch($step) {
Note: See TracChangeset
for help on using the changeset viewer.