From ecfa34ccfa38406bcc7399a3250732f53385d0e0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 24 Jan 2016 19:36:25 +0100 Subject: [PATCH] Fixed WCFSetup triggering ACP rescue mode --- wcfsetup/install/files/lib/system/WCFACP.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index a9c1316f1e..b9aa7fde5e 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -77,7 +77,7 @@ class WCFACP extends WCF { if (self::$inRescueMode === null) { self::$inRescueMode = false; - if (isset($_SERVER['HTTP_HOST'])) { + if (PACKAGE_ID && isset($_SERVER['HTTP_HOST'])) { self::$inRescueMode = true; foreach (ApplicationHandler::getInstance()->getApplications() as $application) { -- 2.20.1