WordPress.org

Make WordPress Core

Changeset 8471


Ignore:
Timestamp:
07/28/08 16:27:17 (7 years ago)
Author:
ryan
Message:

Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-settings.php

    r8211 r8471  
    6969    else 
    7070    { 
     71        // Use ORIG_PATH_INFO if there is no PATH_INFO 
     72        if ( !isset($_SERVER['PATH_INFO']) && isset($_SERVER['ORIG_PATH_INFO']) ) 
     73            $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; 
     74 
    7175        // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice) 
    7276        if ( isset($_SERVER['PATH_INFO']) ) { 
Note: See TracChangeset for help on using the changeset viewer.