vesta/web/logout/index.php
2013-01-19 23:57:58 +04:00

14 lines
155 B
PHP

<?php
session_start();
if (!empty($_SESSION['look'])) {
unset($_SESSION['look']);
} else {
session_destroy();
}
header("Location: /");
exit;
?>