You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Not a fantastic check, but necessary :-) I'm not familiar with the new cascading config, so if someone could double check that checking DOKU_CONF is enough that would be great.
The reason will be displayed to describe this comment to others. Learn more.
As preload.php is loaded before load.php (which calls infoutils.php), this should also be fine for farms.
The core config cascade uses only DOKU_CONF and farms overwrite it, although farms also use DOKU_INC/conf. But they use DOKU_CONF to write in, while they use DOKU_INC/conf only to read from. So, I think this is fine.
4c7ecf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fantastic check, but necessary :-) I'm not familiar with the new cascading config, so if someone could double check that checking DOKU_CONF is enough that would be great.
4c7ecf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As
preload.php
is loaded beforeload.php
(which callsinfoutils.php
), this should also be fine for farms.The core config cascade uses only
DOKU_CONF
and farms overwrite it, although farms also useDOKU_INC/conf
. But they useDOKU_CONF
to write in, while they useDOKU_INC/conf
only to read from. So, I think this is fine.