Make WordPress Core


Ignore:
Timestamp:
05/09/2004 05:47:02 AM (22 years ago)
Author:
saxmatt
Message:

Various fixes and cleanups, inspired and pointed out by Joseph Scott.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r1189 r1245  
    11<?php
    22$_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.");
     3if (!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."));
    44require_once('../wp-config.php');
    55require('upgrade-functions.php');
    66
    7 $step = $_GET['step'];
    8 if (!$step) $step = 0;
     7if (isset($_GET['step']))
     8    $step = $_GET['step'];
     9else
     10    $step = 0;
    911?>
    1012<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    4951$wpdb->hide_errors();
    5052$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>');
     53if ($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>'));
    5254$wpdb->show_errors();
    5355switch($step) {
Note: See TracChangeset for help on using the changeset viewer.