summaryrefslogtreecommitdiff
path: root/db-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-31 06:30:20 +0100
committerAndrew Dolgov <[email protected]>2006-03-31 06:30:20 +0100
commit9a3bb96a8700c60235dc27406e32d8affdc1c106 (patch)
tree3159e1408ea3ceae13aee2e1429e09863d5bffb4 /db-prefs.php
parent5854b0164d3138d1821fd8374655d30df8a30440 (diff)
remove stupid DISABLE_SESSIONS kludge, check if constant is defined, not true
Diffstat (limited to 'db-prefs.php')
-rw-r--r--db-prefs.php2
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();
}