[pmwiki-users] Trying to set up a "test site" using $WikiLibDirs

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 14 15:40:57 CST 2007


On Wed, Feb 14, 2007 at 01:28:00PM -0800, Philip Yates wrote:
>    from the main site.   I tried to make this work by putting this in the
>    config file in the config.php file in the test\local directory:
> 
>    $BaseUrl = 'http://websitename.org';
>    $WikiLibDirs = array(&$WikiDir,
>        new PageStore('$BaseUrl/wiki.d/{$FullName}'),
>        new PageStore('wikilib.d/{$FullName}'));

The argument to PageStore has to be a filesystem path, not
a url.  (This is how PmWiki accesses the page files on disk,
as opposed to how others would reach pages through the web.)

Pm



More information about the pmwiki-users mailing list