Fix enabling of DEBUG_MODE after installing via developer mode
authorTim Düsterhus <timwolla@googlemail.com>
Tue, 19 Nov 2013 19:18:13 +0000 (20:18 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Tue, 19 Nov 2013 19:18:13 +0000 (20:18 +0100)
wcfsetup/install/files/lib/system/WCFSetup.class.php

index c6b8f2c39ebd835d89cbeaa34c18bd77db5c7fb0..744eec95e6bacadbd76d6d86503bb163722a92a1 100644 (file)
@@ -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');