Setting DOKU_CONF in preload.php (security recommendation in
https://www.dokuwiki.org/security#move_directories_out_of_docroot) and allowing farm section in preload.php cause complete dokuwiki failure (unavailable config files) - even farmer dokuwiki produces chaotic output.
How to reproduce:
These security settings (conf and data out of docroot) are applied in Bitnami Dokuwiki appliance. After uncomment farm section in preload.php (2nd step in "How to create a farm" of
https://www.dokuwiki.org/farms ) pre-installed dokuwiki lost access to config files).
Reason:
Dokuwiki farm code expects config code in DOKU_INC.'conf/dokuwiki.php' - generally bad idea when DOKU_CONF can be customized.
Recommendation:
Code with 'conf/*' should be eliminated.