1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 03:51:28 +00:00

remove stupid DISABLE_SESSIONS kludge, check if constant is defined, not true

This commit is contained in:
Andrew Dolgov
2006-03-31 06:30:20 +01:00
parent 5854b0164d
commit 9a3bb96a87
4 changed files with 2 additions and 7 deletions

View File

@@ -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();
}