From: Tim Düsterhus Date: Tue, 19 Nov 2013 19:18:13 +0000 (+0100) Subject: Fix enabling of DEBUG_MODE after installing via developer mode X-Git-Tag: 2.0.0_RC_2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d6ddb2e316056b83910a752218d9fde05c9fc12;p=GitHub%2FWoltLab%2FWCF.git Fix enabling of DEBUG_MODE after installing via developer mode --- diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index c6b8f2c39e..744eec95e6 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -1168,7 +1168,7 @@ class WCFSetup extends WCF { SessionHandler::getInstance()->changeUser($admin); SessionHandler::getInstance()->register('masterPassword', 1); - SessionHandler::getInstance()->register('__wcfSetup_developerMode', (self::debugModeIsEnabled() ? 1 : 0)); + SessionHandler::getInstance()->register('__wcfSetup_developerMode', self::$developerMode); SessionHandler::getInstance()->update(); $installPhpDeleted = @unlink('./install.php');