logout bug fix

logout affects only the current installation
This commit is contained in:
Matthias Vogel 2014-07-09 19:51:27 +02:00
commit e4ecaa72f7

View file

@ -1,6 +1,10 @@
<?php
session_destroy();
unset($_SESSION[config("site.url")]);
if(empty($_SESSION))
{
session_destroy();
}
header('location: login');