Make WordPress Core

Changeset 1948


Ignore:
Timestamp:
12/14/2004 07:55:26 AM (20 years ago)
Author:
saxmatt
Message:

Using modern variables.

File:
1 edited

Legend:

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

    r1895 r1948  
    55
    66require_once('../wp-config.php');
    7 require('./upgrade-functions.php');
    8 
    9 $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $HTTP_HOST . $REQUEST_URI);
     7require_once('./upgrade-functions.php');
     8
     9$guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) );
    1010
    1111if (isset($_GET['step']))
Note: See TracChangeset for help on using the changeset viewer.