Changeset 2744

Show
Ignore:
Timestamp:
08/03/05 00:42:52 (3 years ago)
Author:
matt
Message:

Fixes #1488

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r2725 r2744  
    55 
    66// Fix for IIS, which doesn't set REQUEST_URI 
    7 if (! isset($_SERVER['REQUEST_URI'])) { 
    8     $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; 
     7if ( empty( $_SERVER['REQUEST_URI'] ) ) { 
     8    $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; // Does this work under CGI? 
    99     
    1010    // Append the query string if it exists and isn't null