diff --git a/services/Url.php b/services/Url.php index d56b000842e6b9485e73f355c4d742b109dc7860..6165ec8565d4f180392dc6b0b26071b3f3e960df 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; } }