diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-07-17 06:56:55 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-07-17 06:56:55 +0000 |
| commit | 8f20c1a7cadeaa3a16d742c01d03146b9a3776b1 (patch) | |
| tree | 9b33d1c017c251ba1635cfdcb9b2c0e7903a8398 /api/index.php | |
| parent | dc0d1b93d280ed7b76df8952f4cf432b091408e4 (diff) | |
| parent | 44257b801650dddd65f01a0f20e0865d5184c3a3 (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.php | 2 |
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([ |