From eacc0f346077e41d12737a270686987f2ff4e596 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 16 Mar 2012 14:41:21 +0100 Subject: [PATCH] Fixed redirect to login Fixes #528 --- wcfsetup/install/files/lib/system/WCFACP.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index 9e9095e13b..f2f72d9939 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -1,5 +1,6 @@ userID == 0) { - util\HeaderUtil::redirect('index.php/Login/'.SID_ARG_1ST, false); + // build redirect path + $application = ApplicationHandler::getInstance()->getActiveApplication(); + $path = $application->domainName . $application->domainPath . 'acp/index.php/Login/' . SID_ARG_1ST; + + util\HeaderUtil::redirect($path, false); exit; } else { -- 2.20.1