From 9826d2f07527e3259957628030adc87bde391b0c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 23 Oct 2023 23:10:17 +0300 Subject: add a self url path hack to strip request path directories (needed for /api/index.php) --- api/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') diff --git a/api/index.php b/api/index.php index 750a95721..329e03dae 100644 --- a/api/index.php +++ b/api/index.php @@ -14,6 +14,8 @@ require_once "functions.php"; require_once "sessions.php"; + Config::strip_self_url_path_dirs(1); + ini_set('session.use_cookies', "0"); ini_set("session.gc_maxlifetime", "86400"); -- cgit v1.2.3