From b0aa9ce9b0c21cbb39185a72583bed6e1ab86b8d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 3 Jul 2013 00:51:22 +0200 Subject: [PATCH] Fixed check for safe mode --- wcfsetup/test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/test.php b/wcfsetup/test.php index 93f40a7ded..bf4b371f14 100644 --- a/wcfsetup/test.php +++ b/wcfsetup/test.php @@ -95,7 +95,7 @@ else if (!extension_loaded('pcre')) { } // check safemode -else if ((is_array($configArray) && !empty($configArray['safe_mode']['local_value'])) || @ini_get('safe_mode')) { +else if ((is_array($configArray) && !empty($configArray['safe_mode']['local_value']) && $configArray['safe_mode']['local_value'] != 'off') || (@ini_get('safe_mode') && ini_get('safe_mode') != 'off')) { ?>

PHP Safemode is enabled. You must disable it to install this software.
Der PHP Safemode ist aktiviert. Für den Betrieb der Software muss der Safemode deaktiviert sein.

-- 2.20.1