From 8458d75cd93890b7aaf9e84e03b63a3e54bf3004 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 30 May 2013 19:58:12 +0200 Subject: [PATCH] Added check for PATH_INFO support on nginx --- wcfsetup/test.php | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) 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 …

+ + -- 2.20.1