Changeset 1830 for trunk/wp-settings.php
- Timestamp:
- 10/26/2004 04:03:34 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r1827 r1830 5 5 6 6 // Fix for IIS, which doesn't set REQUEST_URI 7 $_SERVER['REQUEST_URI'] = (isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME']); 8 9 // Append the query string if it exists and isn't null 10 if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) { 11 $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; 7 if (! isset($_SERVER['REQUEST_URI'])) { 8 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; 9 10 // Append the query string if it exists and isn't null 11 if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) { 12 $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; 13 } 12 14 } 13 15
Note: See TracChangeset
for help on using the changeset viewer.