[pmwiki-users] refcount in a farm

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 24 15:17:39 CDT 2005


On Mon, Oct 24, 2005 at 10:08:49PM +0200, nexyufuli evo wrote:
> hm, thats exaclty what I did . .
> 
> $WikiLibDirs = array(&$WikiDir,
>      new PageStore('$FarmD/wiki.d/$FullName'),
>      new PageStore('$FarmD/wikilib.d/$FullName'));
> 
> I used that to give the fields access to the mainwiki. Is there a way to 
> keep the access but avoid that refcount can see the pages?

if ($action != 'refcount') {
  $WikiLibDirs = array(&$WikiDir,
       new PageStore('$FarmD/wiki.d/$FullName'),
       new PageStore('$FarmD/wikilib.d/$FullName'));
}

Pm




More information about the pmwiki-users mailing list