Changeset 6058
- Timestamp:
- 09/07/2007 02:43:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r6026 r6058 41 41 if (empty($_SERVER['PATH_INFO'])) 42 42 $_SERVER['REQUEST_URI'] = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')) . '/'; 43 elseif ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] ) 44 // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice) 45 $_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO']; 43 46 else 44 47 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];
Note: See TracChangeset
for help on using the changeset viewer.