From e218d39cad3f6ff9cf6f5b60adb8e29fbf68bee0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 29 Apr 2019 12:35:14 +0200 Subject: [PATCH] Incorrect handling of the landing page during the WCFSetup Fixes #2910 See 000c0c8a26491708b2af995bdd6f0e627cc75161 --- .../lib/system/cache/builder/RoutingCacheBuilder.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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]; -- 2.20.1