[pmwiki-users] Wiki.d Directory Organization

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 17 18:15:41 CST 2006


On Sat, Feb 18, 2006 at 12:57:51AM +0100, Joachim Durchholz wrote:
> Patrick R. Michaud schrieb:
> > On Fri, Feb 17, 2006 at 04:29:50PM -0500, Miller, Joshua wrote:
> > 
> >>   Is something I could add to the config.php file to change the organization
> >>   of the wiki.d directory?
> > 
> >     $WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');
> > 
> > If you have existing pages, you'll need to move them
> > into the correct locations after making this setting.
> 
> Would PmWiki create the directory if somebody created a new group?

Yes, it will (same as it does for uploads organized by group).

> I wouldn't expect that, but even if PmWiki did, it wouldn't help much on 
> a typical vhost setup with active safe_mode in PHP: PmWiki would be 
> unable to create directories in it. :-p

I don't know that "safe_mode" is a "typical vhost setup" -- I've seen
as many vhosts w/o safe_mode as I've seen with.  But yes, on
systems running safe_mode PmWiki will have trouble creating the
group directories.

Pm





More information about the pmwiki-users mailing list