From 9a3bb96a8700c60235dc27406e32d8affdc1c106 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Mar 2006 06:30:20 +0100 Subject: remove stupid DISABLE_SESSIONS kludge, check if constant is defined, not true --- db-prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db-prefs.php') diff --git a/db-prefs.php b/db-prefs.php index 0309f00a0..e9aaee304 100644 --- a/db-prefs.php +++ b/db-prefs.php @@ -2,7 +2,7 @@ require_once "config.php"; require_once "db.php"; - if (! DISABLE_SESSIONS) { + if (!defined('DISABLE_SESSIONS')) { if (!$_SESSION["prefs_cache"]) $_SESSION["prefs_cache"] = array(); } -- cgit v1.2.3-54-g00ecf