Browse Source

logout bug fix

logout affects only the current installation
pull/55/head
Matthias Vogel 11 years ago
parent
commit
e4ecaa72f7
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      system/admin/views/logout.html.php

+ 5
- 1
system/admin/views/logout.html.php View File

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

Loading…
Cancel
Save