htmly/system/admin/views/logout.html.php
Matthias Vogel e4ecaa72f7 logout bug fix
logout affects only the current installation
2014-07-09 19:51:27 +02:00

11 lines
No EOL
121 B
PHP

<?php
unset($_SESSION[config("site.url")]);
if(empty($_SESSION))
{
session_destroy();
}
header('location: login');
?>