Ticket #5682: 5682_fcgi.patch
| File 5682_fcgi.patch, 579 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 ( (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false && php_sapi_name() != 'cgi-fcgi') || empty( $_SERVER['REQUEST_URI'] ) ) { 65 65 66 66 // IIS Mod-Rewrite 67 67 if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
