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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user