From c7cc3c92baae4b34438819fa66d971edc50faaaa Mon Sep 17 00:00:00 2001 From: wn_ Date: Thu, 11 Jul 2024 12:14:53 +0000 Subject: Add and use the 'Sessions' class. --- api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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([ -- cgit v1.2.3-54-g00ecf