[pmwiki-users] custom wikilib.d?
Patrick R. Michaud
pmichaud at pobox.com
Fri Nov 30 13:08:26 CST 2007
On Fri, Nov 30, 2007 at 12:31:14PM -0600, Tegan Dowling wrote:
> I am not quite sure how to read
> http://www.pmwiki.org/wiki/PmWiki/PathVariables#WikiLibDirs (or
> rather, I don't know the proper syntax for arrays); I want to have the
> usual wikilib.d, with its standard downloaded content. I'd like to
> have another, similar directory, maybe wikilib2.d (?) of my own
> content that would over-ride any similarly named pages in wikilib.d,
> and then of course I'd want any in-wiki edits to generate the normal,
> over-riding wiki.d files.
>
> I think this should be simple, right? I'll add it to the page
> http://www.pmwiki.org/wiki/PmWiki/PathVariables#WikiLibDirs if someone
> will provide the actual php stuff, please?
$WikiLibDirs = array(&$WikiDir,
new PageStore('wikilib2.d/{$FullName}'),
new PageStore('$FarmD/wikilib.d/{$FullName}'));
Do this early in the configuration.
Pm
More information about the pmwiki-users
mailing list