From 037becf12e12201aaa8904275a199b280a7f303e Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 19 May 2024 17:51:34 +0200 Subject: [PATCH] fix installer. fixes #5 The installer sets an empty array config cascade which messed with our preload. --- root/var/www/html/inc/preload.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/root/var/www/html/inc/preload.php b/root/var/www/html/inc/preload.php index 13230ae..80b5ff5 100644 --- a/root/var/www/html/inc/preload.php +++ b/root/var/www/html/inc/preload.php @@ -9,6 +9,8 @@ // load the standard cascade if the farmer hasn't already loaded it if (!defined('DOKU_CONF')) { define('DOKU_CONF', __DIR__ . '/../conf/'); +} +if (!isset($config_cascade) || $config_cascade === []) { include __DIR__ . '/config_cascade.php'; }