[pmwiki-devel] PageStore with groups in subdirectories
Patrick R. Michaud
pmichaud at pobox.com
Sun Jan 11 07:59:54 CST 2015
On Sun, Jan 11, 2015 at 12:25:11PM +0000, Omar Cornut wrote:
> Then I noticed that PageStore via pagefile() appears to support this
> already. If we changed:
>
> $WikiDir = new PageStore('wiki.d/{$FullName}');
>
> to
>
> $WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');
>
> However this is not exposed as an option and requires modifying pmwiki.php
You can (re)set the value of $WikiDir inside of a config.php file to override
PmWiki's default setting.
See http://www.pmwiki.org/wiki/Cookbook/PerGroupSubDirectories .
Pm
More information about the pmwiki-devel
mailing list