mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
Update index.php
This commit is contained in:
parent
292d933f88
commit
f31b4b4d41
1 changed files with 2 additions and 1 deletions
|
@ -4,10 +4,11 @@ session_start();
|
|||
|
||||
if (!empty($_SESSION['look'])) {
|
||||
unset($_SESSION['look']);
|
||||
header("Location: /");
|
||||
} else {
|
||||
session_destroy();
|
||||
header("Location: /login/");
|
||||
}
|
||||
|
||||
header("Location: /login/");
|
||||
exit;
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue