diff options
author | Andrew Dolgov <[email protected]> | 2006-03-31 06:30:20 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-31 06:30:20 +0100 |
commit | 9a3bb96a8700c60235dc27406e32d8affdc1c106 (patch) | |
tree | 3159e1408ea3ceae13aee2e1429e09863d5bffb4 /db-prefs.php | |
parent | 5854b0164d3138d1821fd8374655d30df8a30440 (diff) |
remove stupid DISABLE_SESSIONS kludge, check if constant is defined, not true
Diffstat (limited to 'db-prefs.php')
-rw-r--r-- | db-prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |