From e615265d3b51e27f0f664cea193b6353975d6f7d Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 29 Aug 2011 04:25:44 -0400
Subject: [PATCH] Fixed php notice in session library.

---
 interface/web/login/logout.php |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/interface/web/login/logout.php b/interface/web/login/logout.php
index 912a430..53dc933 100644
--- a/interface/web/login/logout.php
+++ b/interface/web/login/logout.php
@@ -76,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