Skip to content

Commit

Permalink
fix installer. fixes #5
Browse files Browse the repository at this point in the history
The installer sets an empty array config cascade which messed with our
preload.
  • Loading branch information
splitbrain committed May 19, 2024
1 parent 3df8462 commit 037becf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions root/var/www/html/inc/preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit 037becf

Please sign in to comment.