mirror of
https://github.com/myvesta/vesta.git
synced 2025-01-09 04:23:10 -08:00
15 lines
192 B
PHP
15 lines
192 B
PHP
<?php
|
|
|
|
session_start();
|
|
|
|
if (!empty($_SESSION['look'])) {
|
|
unset($_SESSION['look']);
|
|
header("Location: /");
|
|
} else {
|
|
session_destroy();
|
|
header("Location: /login/");
|
|
}
|
|
|
|
exit;
|
|
?>
|