1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:15:55 +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

@@ -45,7 +45,7 @@
}
if (!empty($_SESSION["uid"])) {
if (!validate_session()) {
if (!\Sessions\validate_session()) {
header("Content-Type: text/json");
print error_json(6);
return;