mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:15:56 +00:00
initial work on update daemon
This commit is contained in:
10
db-prefs.php
10
db-prefs.php
@@ -2,10 +2,12 @@
|
||||
require_once "config.php";
|
||||
require_once "db.php";
|
||||
|
||||
session_start();
|
||||
|
||||
if (!$_SESSION["prefs_cache"])
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
if (! DISABLE_SESSIONS) {
|
||||
session_start();
|
||||
|
||||
if (!$_SESSION["prefs_cache"])
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
}
|
||||
|
||||
function get_pref($link, $pref_name, $user_id = false) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user