[Pmwiki-users] the sequence for config file processing
Patrick R. Michaud
pmichaud
Fri Oct 15 06:49:09 CDT 2004
On Fri, Oct 15, 2004 at 05:56:09AM -0400, Robert P. J. Day wrote:
> ok, just to make sure i'm not missing anything, assuming i'm not
> building a wiki farm just yet, as i read it, the series of files
> consulted by pmwiki that configure one's installation are (at least in
> a typical setup):
> pmwiki.php
> scripts/version.php
> local/config.php
> scripts/stdconfig.php
Actually, farmconfig.php gets loaded even if you're not running a farm
(and if it exists), thus the sequence is:
pmwiki.php
scripts/version.php
local/farmconfig.php
local/config.php
scripts/stdconfig.php
> in my own local/config.php, i can override just about anything in
> pmwiki.php. and it's in my personal config.php where i have the
> freedom to deactivate $EnableStdConfig to avoid that last config file.
Exactly.
Just for completeness, here's the sequence for someone running a field
in a WikiFarm:
fieldwiki.php
$FarmD/pmwiki.php
$FarmD/scripts/version.php
$FarmD/local/farmconfig.php
local/config.php
$FarmD/scripts/stdconfig.php
Note that pmwiki.php automatically figures out the value of $FarmD from
the first include of pmwiki.php--it typically doesn't need to be set.
Pm
More information about the pmwiki-users
mailing list