summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/loggedin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/loggedin.php b/includes/loggedin.php
index eb09011..f4548a5 100644
--- a/includes/loggedin.php
+++ b/includes/loggedin.php
@@ -27,7 +27,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config')
+ if($key == '_config' || $key == 'mconn')
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
@@ -53,7 +53,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config')
+ if($key == '_config' || $key == 'mconn')
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
@@ -72,7 +72,7 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key => $value)
{
- if($key == '_config')
+ if($key == '_config' || $key == 'mconn')
continue;
unset($_SESSION[$key]);
unset($$key);