From: Tim Düsterhus Date: Sun, 26 Feb 2012 13:57:44 +0000 (+0100) Subject: Fixing redirect to login in ACP X-Git-Tag: 2.0.0_Beta_1~1306^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2728f2317f0bdee50bd41b49010c855b06126bd;p=GitHub%2FWoltLab%2FWCF.git Fixing redirect to login in ACP --- diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index 5642884b91..9e9095e13b 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -56,7 +56,7 @@ class WCFACP extends WCF { $pathInfo = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : ''; if (empty($pathInfo) || !preg_match('~^/(ACPCaptcha|Login)/~', $pathInfo)) { if (WCF::getUser()->userID == 0) { - util\HeaderUtil::redirect('index.php/Login/'.SID_ARG_1ST); + util\HeaderUtil::redirect('index.php/Login/'.SID_ARG_1ST, false); exit; } else {