Ticket #5682: 5682_fcgi.2.patch
| File 5682_fcgi.2.patch, 583 bytes (added by ruslany, 3 years ago) |
|---|
-
wp-settings.php
60 60 if ( ! isset($blog_id) ) 61 61 $blog_id = 1; 62 62 63 // Fix for IIS , which doesn't set REQUEST_URI64 if ( empty( $_SERVER['REQUEST_URI'] ) ) {63 // Fix for IIS when running with PHP ISAPI 64 if ( empty( $_SERVER['REQUEST_URI'] ) || php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//' , $_SERVER['SERVER_SOFTWARE'] ) > 0 ) { 65 65 66 66 // IIS Mod-Rewrite 67 67 if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
