aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorroot2014-10-05 21:15:08 +0200
committerroot2014-10-05 21:15:08 +0200
commit3833ab7e3588b4f5c05f440713f5cdf30b9029ae (patch)
tree283217af2afe917bce80f7f9ad883adfbe077abc /index.php
parent80fb01db10054baf2c4c6e70a677e429fe5c34ee (diff)
downloadjungegemeinde-3833ab7e3588b4f5c05f440713f5cdf30b9029ae.tar.gz
Improved caching methods.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 52bf162..af2a619 100644
--- a/index.php
+++ b/index.php
@@ -11,7 +11,7 @@ if ( ! isset($cache) )
$c = new cache(REDIS_CONNECT, REDIS_DB);
if ( isset($_SESSION["loggedin"]) && $_SESSION["loggedin"]){
- $a = "1_";
+ $a = $_SESSION["userid"]."_";
} else {
$a = "0_";
}