From 36bfab86c2682c460b197029bbae4daa6ff83ec4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 2 Mar 2006 09:10:43 +0100 Subject: database backed sessions --- db-prefs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db-prefs.php') diff --git a/db-prefs.php b/db-prefs.php index 80d890fbc..8714e340c 100644 --- a/db-prefs.php +++ b/db-prefs.php @@ -3,8 +3,8 @@ require_once "db.php"; if (! DISABLE_SESSIONS) { - session_start(); - + require_once "sessions.php"; + if (!$_SESSION["prefs_cache"]) $_SESSION["prefs_cache"] = array(); } -- cgit v1.2.3-54-g00ecf