From: Alexander Ebert Date: Wed, 6 Apr 2016 09:54:03 +0000 (+0200) Subject: Skip landing page check for ACP requests X-Git-Tag: 3.0.0_Beta_1~1969 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96c16429b486697e0167c995259d9bec5f38615b;p=GitHub%2FWoltLab%2FWCF.git Skip landing page check for ACP requests --- 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) {