Update Loader.php
commit95775ac735f4e08dd9c915316e4704b4f59af488
authorChristoph Ziehr <christoph@christoph-ziehr.de>
Sun, 22 Nov 2020 17:18:42 +0000 (22 18:18 +0100)
committerGerrit Uitslag <klapinklapin@gmail.com>
Tue, 4 Jan 2022 23:21:26 +0000 (5 00:21 +0100)
treed724b9d796fbeadbfe03cf5bb7b09c42200f7881
parent03ae5b30f62757d2e7f3c22ed8aceffbbdbfeca9
Update Loader.php

The config options are read in the order plugin-standard-values -> template-standard-values -> dokuwiki.php -> local.php -> local.protected.php into DokuWiki.
But when entering the configuration manger, they options are displayed in the order dokuwiki.php -> plugin-standard-values -> template-standard-values -> local.php -> local.protected.php

This patch fixes the issue, so that the right values are displayed if there are no configs set in local.php or local.protected.php

See also https://forum.dokuwiki.org/d/18489-issues-with-modifying-confdokuwikiphp for further information.

This is a second version of this change, because on the first try, there was unnoticed php-error.
lib/plugins/config/core/Loader.php