diff --git a/web/logout/index.php b/web/logout/index.php index 795eb65f..7f1d693c 100644 --- a/web/logout/index.php +++ b/web/logout/index.php @@ -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; ?>