diff options
author | Andrew Dolgov <[email protected]> | 2006-03-02 09:10:43 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-02 09:10:43 +0100 |
commit | 36bfab86c2682c460b197029bbae4daa6ff83ec4 (patch) | |
tree | d243e8863dd358be04b3695c0b092287657452b7 /db-prefs.php | |
parent | 36ae0574dd83d660570574ecc40d0d847dbde897 (diff) |
database backed sessions
Diffstat (limited to 'db-prefs.php')
-rw-r--r-- | db-prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |