From: Alexander Ebert Date: Mon, 29 Apr 2019 10:35:14 +0000 (+0200) Subject: Incorrect handling of the landing page during the WCFSetup X-Git-Tag: 5.2.0_Alpha_1~110 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e218d39cad3f6ff9cf6f5b60adb8e29fbf68bee0;p=GitHub%2FWoltLab%2FWCF.git Incorrect handling of the landing page during the WCFSetup Fixes #2910 See 000c0c8a26491708b2af995bdd6f0e627cc75161 --- diff --git a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php index b68e7fa052..3d1ea7719e 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php @@ -349,6 +349,10 @@ class RoutingCacheBuilder extends AbstractCacheBuilder { } protected function handleLandingPageWithOverriddenApplication(array &$data) { + if (!PACKAGE_ID) { + return; + } + $landingPageController = $data['landingPages']['wcf'][0]; $controllers = [$landingPageController];