Changeset 6203
- Timestamp:
- 10/08/07 20:48:29 (11 months ago)
- Files:
-
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-settings.php
r6198 r6203 39 39 else { 40 40 // If root then simulate that no script-name was specified 41 if (empty($_SERVER['PATH_INFO'])) 42 $_SERVER['REQUEST_URI'] = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')) . '/'; 41 if (empty($_SERVER['PATH_INFO'])) { 42 if (isset($_SERVER['ORIG_PATH_INFO'])) 43 $_SERVER['REQUEST_URI'] = $_SERVER['ORIG_PATH_INFO']; 44 else 45 $_SERVER['REQUEST_URI'] = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')) . '/'; 46 } 43 47 elseif ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] ) 44 48 // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice)
