From 3779f613674a5476929ce281a7a47d2749b34084 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 30 Dec 2016 22:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=AF=AD=E8=A8=80=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E4=B8=8D=E8=83=BD=E7=99=BB=E5=BD=95=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/Url.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/Url.php b/services/Url.php index d56b0008..6165ec85 100644 --- a/services/Url.php +++ b/services/Url.php @@ -357,14 +357,16 @@ class Url extends Service */ protected function actionRedirect($url){ if($url){ + //session_commit(); header("Location: $url"); } } protected function actionRedirectByUrlKey($urlKey,$params=[]){ if($urlKey){ $url = $this->getUrl($urlKey,$params); + //session_commit(); header("Location: $url"); - exit; + //exit; } } -- GitLab