summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-07-17 06:56:55 +0000
committerAndrew Dolgov <[email protected]>2024-07-17 06:56:55 +0000
commit8f20c1a7cadeaa3a16d742c01d03146b9a3776b1 (patch)
tree9b33d1c017c251ba1635cfdcb9b2c0e7903a8398 /backend.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 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 14d461c9f..a56847111 100644
--- a/backend.php
+++ b/backend.php
@@ -44,7 +44,7 @@
}
if (!empty($_SESSION["uid"])) {
- if (!\Sessions\validate_session()) {
+ if (!Sessions::validate_session()) {
header("Content-Type: text/json");
print Errors::to_json(Errors::E_UNAUTHORIZED);