diff --git a/DokuWikiFarmCore.php b/DokuWikiFarmCore.php index 7dcf18f..09e4adf 100644 --- a/DokuWikiFarmCore.php +++ b/DokuWikiFarmCore.php @@ -337,6 +337,9 @@ protected function adjustCascade() $append = []; $prepend = []; if ($key == 'main') { + $prepend = [ + 'protected' => [DOKU_INC . 'conf/local.protected.php'] + ]; $append = [ 'default' => [DOKU_INC . 'conf/local.php'], 'protected' => [DOKU_INC . 'lib/plugins/farmer/includes/config.php'] @@ -375,6 +378,9 @@ protected function adjustCascade() } elseif ($key == 'users') { $config_cascade['plainauth.users']['protected'] = DOKU_INC . 'conf/users.auth.php'; } elseif ($key == 'plugins') { + $prepend = [ + 'protected' => [DOKU_INC . 'conf/local.protected.php'] + ]; $append = [ 'default' => [DOKU_INC . 'conf/plugins.local.php'] ];