[pmwiki-users] Re: Supporting different modes in default pmwiki
Daniel Scheibler
scheibi at gmail.com
Sun Aug 7 12:52:14 CDT 2005
2005/8/7, Hans <design at flutesong.fsnet.co.uk>:
> Sunday, August 7, 2005, 4:42:46 PM, Patrick wrote:
> > More generally, in config.php one can do:
>
> > include_once("$FarmD/scripts/stdconfig.php");
>
> > which says to do go ahead and perform all of PmWiki's standard
> > configuration processing at this point (markups, skins, authors,
> > user preferences, setting variables, etc.). Then the config.php
> > script can pick up with any other customizations it wants to do.
>
> Oh and I thought that stdconfig.php gets included by default.
> Now I am confused, since there seem to be some scripts being included as
> default, in fact all (most of?)??
It will be included by default, but after the processing of
$FarmD/scripts/farmconfig.php and config.php.
If you want to use some standard configurations inside your
config.php, you have to include it earlier.
Greets,
scheiby
--
Daniel Scheibler ========:} student at
eMail: scheibi at gmail.com BTU Cottbus/Germany
WWW: http://www.scheiby.de
More information about the pmwiki-users
mailing list