mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
move session-related functions to their own namespace
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
if (!init_plugins()) return;
|
||||
|
||||
if (!empty($_SESSION["uid"])) {
|
||||
if (!validate_session()) {
|
||||
if (!\Sessions\validate_session()) {
|
||||
header("Content-Type: text/json");
|
||||
|
||||
print json_encode(array("seq" => -1,
|
||||
|
||||
Reference in New Issue
Block a user