From 3833ab7e3588b4f5c05f440713f5cdf30b9029ae Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 Oct 2014 21:15:08 +0200 Subject: Improved caching methods. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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_"; } -- cgit v1.2.3