From ce716cd007b43e3fdf90e8cb82274ece3f934066 Mon Sep 17 00:00:00 2001 From: frederik Date: Tue, 26 Aug 2025 17:05:14 +0200 Subject: [PATCH] fix: we were always using the wiki image provider: make sure to actually load the config --- scripts/api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/api.php b/scripts/api.php index cfd8f74..22b8575 100644 --- a/scripts/api.php +++ b/scripts/api.php @@ -3,6 +3,7 @@ define('__ROOT__', dirname(dirname(__FILE__))); require_once(__ROOT__ . '/scripts/common.php'); +$config = get_config(); $requestUri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $requestMethod = $_SERVER['REQUEST_METHOD'];