Make WordPress Core

Changeset 8470


Ignore:
Timestamp:
07/28/2008 04:26:59 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r8211 r8470  
    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.