From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 30 May 2012 07:30:44 -0400 Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons). --- interface/web/login/logout.php | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/interface/web/login/logout.php b/interface/web/login/logout.php index 91a7bb6..53dc933 100644 --- a/interface/web/login/logout.php +++ b/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; @@ -74,5 +76,8 @@ echo('URL_REDIRECT:index.php'); } } -exit; -?> \ No newline at end of file +// Destroy the session completely now +$_SESSION = array(); +session_destroy(); +session_write_close(); +?> -- Gitblit v1.9.1