From c2728f2317f0bdee50bd41b49010c855b06126bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 26 Feb 2012 14:57:44 +0100 Subject: [PATCH] Fixing redirect to login in ACP --- wcfsetup/install/files/lib/system/WCFACP.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1