[Pmwiki-users] PmWiki2 test site
Patrick R. Michaud
pmichaud
Sat Oct 2 15:10:02 CDT 2004
On Sat, Oct 02, 2004 at 03:05:39PM -0600, Patrick R. Michaud wrote:
> You can add the pmwiki 1 wikilib.d/ directory in to the list of
> directories to be searched, as in
>
> $WikiLibDirs = array(&$WikiDir,
> new PageStore1x('/path/to/pmwiki1/wiki.d/$PageName'),
> new PageStore1x('/path/to/pmwiki1/wikilib.d/$PageName'),
> new PageStore('$FarmD/wikilib.d/$PageName'));
Actually, better is probably
$WikiLibDirs = array(&$WikiDir,
new PageStore1x('/path/to/pmwiki1/wiki.d/$PageName'),
new PageStore('$FarmD/wikilib.d/$PageName'),
new PageStore1x('/path/to/pmwiki1/wikilib.d/$PageName'));
so that the 2.0 wikilib.d/ pages take priority over the 1.x pages
where duplicates exist.
Pm
More information about the pmwiki-users
mailing list