[pmwiki-users] To disable html markup on publically-editable pages
Hans
design5 at softflow.co.uk
Sun Nov 19 06:56:41 CST 2006
Sunday, November 19, 2006, 1:43:35 AM, JB wrote:
> Won't that make the config.php execute twice then?
>> FWIW, a farmconfig.php can have things happen after local/config.php
>> by simply doing:
>>
>> <?php
>> ## initial farm configuration (before local/config.php) stuff here
>> $FarmPubDirUrl = '...';
>>
>> ## get local configuration settings
>> include_once('local/config.php');
>>
>> ## farm configuration after local/config.php here
>> if (!CondAuth($pagename, 'admin')) { ... }
no, because it says:
include_once(...)
i.e. config.php will not be included a second time.
Hans
More information about the pmwiki-users
mailing list