added some exit()

This commit is contained in:
nilsding 2014-08-18 15:08:15 +02:00
parent 3d09077fe2
commit ed52b9f109
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ switch ($_GET['page']) {
session_start(); session_start();
$_SESSION['flash'] = "Sucessfully logged out"; $_SESSION['flash'] = "Sucessfully logged out";
header('Location: index.php'); header('Location: index.php');
exit();
break; break;
} }
case "settings": { case "settings": {