diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:02:50 +0000 |
commit | b640dc452ae9d67c02662997f6c5b6e0d900e4b9 (patch) | |
tree | 8cddeeb3192292ac0704bf720aa6f312dcbd299f /engine | |
parent | a08509ec171b12f609a8941c86541f3a413ea913 (diff) | |
download | elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.gz elgg-b640dc452ae9d67c02662997f6c5b6e0d900e4b9.tar.bz2 |
Fixed some session stuff, modified a few views
git-svn-id: https://code.elgg.org/elgg/trunk@303 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/sessions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index 4b067da56..f93f2f294 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -126,9 +126,11 @@ $_SESSION['code'] = $_COOKIE['elggperm'];
} else {
$_SESSION['id'] = -1;
+ $_SESSION['guid'] = -1;
}
} else {
$_SESSION['id'] = -1;
+ $_SESSION['guid'] = -1;
}
} else {
if (!empty($_SESSION['code'])) {
@@ -138,6 +140,7 @@ } else {
}
} else {
+ $_SESSION['guid'] = -1;
$_SESSION['id'] = -1;
}
}
|