Fix redirect

develop
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
*/
public static function redirect(string $url, bool $stop = true){
header('Location: '.$url);
header('Location: /'.$url);
if($stop)
exit();
}