Fix redirect

This commit is contained in:
sheychen 2018-05-13 13:37:01 +02:00
parent 9b5983a35f
commit 3c42b524d7
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class Router{
* @return void * @return void
*/ */
public static function redirect(string $url, bool $stop = true){ public static function redirect(string $url, bool $stop = true){
header('Location: '.$url); header('Location: /'.$url);
if($stop) if($stop)
exit(); exit();
} }