From: Alexander Ebert Date: Wed, 29 Jan 2014 12:12:41 +0000 (+0100) Subject: Redirecting if URL resolves to landing page but /index.php is present X-Git-Tag: 2.0.2_pl_1~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3cdf6c301690747fb540977ae11e3ee3b3f9d85e;p=GitHub%2FWoltLab%2FWCF.git Redirecting if URL resolves to landing page but /index.php is present --- diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index d79684ef58..fa582c7246 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -154,6 +154,10 @@ class RequestHandler extends SingletonFactory { } } } + + // redirect to landing page + HeaderUtil::redirect($redirectURL, true); + exit; } }