From 96c16429b486697e0167c995259d9bec5f38615b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 6 Apr 2016 11:54:03 +0200 Subject: [PATCH] Skip landing page check for ACP requests --- .../files/lib/system/request/RequestHandler.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 6cfcb74e3b..aa03efa7a9 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -168,9 +168,11 @@ class RequestHandler extends SingletonFactory { $this->activeRequest = new Request($classData['className'], $classData['controller'], $classData['pageType'], $metaData); - // determine if current request matches the landing page - if (ControllerMap::getInstance()->isLandingPage($classData, $metaData)) { - $this->activeRequest->setIsLandingPage(); + if (!$this->isACPRequest()) { + // determine if current request matches the landing page + if (ControllerMap::getInstance()->isLandingPage($classData, $metaData)) { + $this->activeRequest->setIsLandingPage(); + } } } catch (SystemException $e) { -- 2.20.1