[pmwiki-users] Blocklist files in a farm

James DeVain jamesdevain at mail.com
Sun Jan 18 17:46:03 CST 2009

Oh, and also add this line to farmconfig.php:

$BlocklistPages = array('SiteAdmin.Blocklist-MoinMaster', 'SiteAdmin.Blocklist-Chongqed'); 

>> I'd like to have all farms use one version of the files, stored in the
>> 'main' farm directory (pmwiki/. Is this possible?

> Create a "shared.d-SiteAdmin" folder in the farm installation folder, and
> transfer those pages to that folder. Then add this to farmconfig.php:
> $LockFile = "$FarmD/shared.d/.flock";
> $WikiLibDirs = array(
> &$WikiDir,
> new PageStore('$FarmD/shared.d-SiteAdmin/SiteAdmin.Blocklist-MoinMaster', 1),
> new PageStore('$FarmD/shared.d-SiteAdmin/SiteAdmin.Blocklist-Chongqed', 1),
> new PageStore('$FarmD/wikilib.d/$FullName'));
> In fact, any pages which you want to be shared across all feilds, 
> just repeat the process
> and add the page to a new "new PageStore('$FarmD/..." line. 

Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

More information about the pmwiki-users mailing list