From: Marcel Werk Date: Thu, 9 May 2013 18:17:21 +0000 (+0200) Subject: Added ACP login redirect X-Git-Tag: 2.0.0_Beta_1~222 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db258255a50796b3e18aa837babc243a9ce5a0d5;p=GitHub%2FWoltLab%2FWCF.git Added ACP login redirect --- diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index 5ad35c2f95..600636e436 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -65,7 +65,7 @@ class WCFACP extends WCF { if (WCF::getUser()->userID == 0) { // build redirect path $application = ApplicationHandler::getInstance()->getActiveApplication(); - $path = $application->getPageURL() . 'acp/index.php/Login/' . SID_ARG_1ST; + $path = $application->getPageURL() . 'acp/index.php/Login/' . SID_ARG_1ST . '&url=' . rawurlencode(WCF::getSession()->requestURI); HeaderUtil::redirect($path); exit;