<?
session_start();
if($_SESSION['account_logged'] == 'try')
{
unset($_SESSION['account_name']);
unset($_SESSION['account_id']);
unset($_SESSION['account_logged']);
unset($_SESSION['admin']);
session_destroy();
header("Location: /");
}
else header("Location: /login");
?>
<a class="menu-item" href="/engine/user/exit.php">
<span class="sidebar-item__icon"><i class="icon icon-power"></i></span><span class="sidebar-item__text">Выход</span>
</a>
При нажатии на кнопку не чего не происходит