aboutsummaryrefslogtreecommitdiff
path: root/api/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-07-17 06:56:55 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-07-17 06:56:55 +0000
commit8f20c1a7cadeaa3a16d742c01d03146b9a3776b1 (patch)
tree9b33d1c017c251ba1635cfdcb9b2c0e7903a8398 /api/index.php
parentdc0d1b93d280ed7b76df8952f4cf432b091408e4 (diff)
parent44257b801650dddd65f01a0f20e0865d5184c3a3 (diff)
Merge branch 'feature/php84-session_set_save_handler' into 'master'
Switch to the non-deprecated form of 'session_set_save_handler'. See merge request tt-rss/tt-rss!44
Diffstat (limited to 'api/index.php')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php
index a061e8020..c468823e1 100644
--- a/api/index.php
+++ b/api/index.php
@@ -30,7 +30,7 @@
if (!init_plugins()) return;
if (!empty($_SESSION["uid"])) {
- if (!\Sessions\validate_session()) {
+ if (!Sessions::validate_session()) {
header("Content-Type: text/json");
print json_encode([