Make WordPress Core


Ignore:
Timestamp:
04/20/2004 10:56:47 PM (20 years ago)
Author:
saxmatt
Message:

Changed to superglobals, and eliminated $use_cache (since we always do).

File:
1 edited

Legend:

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

    r964 r1108  
    1111if (!is_writable('../')) die("Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually.");
    1212
    13 $step = $HTTP_GET_VARS['step'];
     13$step = $_GET['step'];
    1414if (!$step) $step = 0;
    1515?>
     
    105105   
    106106    case 2:
    107     $dbname = $HTTP_POST_VARS['dbname'];
    108     $uname = $HTTP_POST_VARS['uname'];
    109     $passwrd = $HTTP_POST_VARS['pwd'];
    110     $dbhost = $HTTP_POST_VARS['dbhost'];
    111     $prefix = $HTTP_POST_VARS['prefix'];
     107    $dbname = $_POST['dbname'];
     108    $uname = $_POST['uname'];
     109    $passwrd = $_POST['pwd'];
     110    $dbhost = $_POST['dbhost'];
     111    $prefix = $_POST['prefix'];
    112112    if (empty($prefix)) $prefix = 'wp_';
    113113
Note: See TracChangeset for help on using the changeset viewer.