From: Alexander Ebert Date: Tue, 2 Jul 2013 22:51:22 +0000 (+0200) Subject: Fixed check for safe mode X-Git-Tag: 2.0.0_Beta_5~106^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0aa9ce9b0c21cbb39185a72583bed6e1ab86b8d;p=GitHub%2FWoltLab%2FWCF.git Fixed check for safe mode --- 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.