Changeset 7757
- Timestamp:
- 04/21/2008 05:35:20 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r7664 r7757 70 70 { 71 71 // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice) 72 if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] ) 73 $_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO']; 74 else 75 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO']; 72 if ( isset($_SERVER['PATH_INFO']) ) { 73 if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] ) 74 $_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO']; 75 else 76 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO']; 77 } 76 78 77 79 // Append the query string if it exists and isn't null
Note: See TracChangeset
for help on using the changeset viewer.