From: Alexander Ebert Date: Thu, 30 May 2013 17:58:12 +0000 (+0200) Subject: Added check for PATH_INFO support on nginx X-Git-Tag: 2.0.0_Beta_2~9^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8458d75cd93890b7aaf9e84e03b63a3e54bf3004;p=GitHub%2FWoltLab%2FWCF.git Added check for PATH_INFO support on nginx --- diff --git a/wcfsetup/test.php b/wcfsetup/test.php index 8746e5d0d8..7095b7b7cf 100644 --- a/wcfsetup/test.php +++ b/wcfsetup/test.php @@ -1,4 +1,8 @@ - + WoltLab Community Framework 2.0 System Requirements @@ -84,10 +88,45 @@ else if ((is_array($configArray) && !empty($configArray['safe_mode']['local_valu // everything is fine else { + // check for broken nginx setups + $isNginx = false; + if (isset($_SERVER['SERVER_SOFTWARE']) && stripos($_SERVER['SERVER_SOFTWARE'], 'nginx') !== false) { + $isNginx = true; + } + + if ($isNginx) { ?> + + +

Please wait …
Bitte warten …

+ +