Ticket #4732: req-uri.patch
| File req-uri.patch, 484 bytes (added by , 18 years ago) |
|---|
-
wp-settings.php
79 79 $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; 80 80 } 81 81 } 82 } else { 83 $_SERVER['REQUEST_URI'] = preg_replace('|^.*' . $_SERVER['HTTP_HOST'] . '|i', '', $_SERVER['REQUEST_URI']); 82 84 } 83 85 84 86 // Fix for PHP as CGI hosts that set SCRIPT_FILENAME to something ending in php.cgi for all requests