1
0
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:
Andrew Dolgov
2021-02-16 17:13:16 +03:00
parent 7fad6ce651
commit 9d7ba773ec
4 changed files with 18 additions and 15 deletions

View File

@@ -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,