ftimme
2012-05-30 2cb1563f63386b35a69e460051aa9b4a2851d104
interface/web/login/logout.php
@@ -59,6 +59,8 @@
   exit;
}
$app->plugin->raiseEvent('logout',true);
$_SESSION["s"]["user"] = null;
$_SESSION["s"]["module"] = null;
$_SESSION['s_old'] = null;
@@ -71,8 +73,11 @@
   if($conf["interface_logout_url"] != '') {
      echo('URL_REDIRECT:'.$conf["interface_logout_url"]);
   } else {
      echo('URL_REDIRECT:../index.php');
      echo('URL_REDIRECT:index.php');
   }
}
exit;
?>
// Destroy the session completely now
$_SESSION = array();
session_destroy();
session_write_close();
?>