[pmwiki-users] Re: SourceForge.net Read-Only Policy - PmWiki-Compatible!

Patrick R. Michaud pmichaud at pobox.com
Sat May 14 09:19:12 CDT 2005


On Sat, May 14, 2005 at 09:04:07AM -0500, Patrick R. Michaud wrote:
> If one is worried about the extra calls to mkdirp, it can also be done:
> 
>     if (! file_exists("$PmWikiD/sessions")) mkdirp("$PmWikiD/uploads");
>     if (! file_exists("$PmWikiD/uploads")) mkdirp("$PmWikiD/uploads");

Correction:

     if (! file_exists("$PmWikiD/sessions")) mkdirp("$PmWikiD/sessions");
     if (! file_exists("$PmWikiD/uploads")) mkdirp("$PmWikiD/uploads");

Pm



More information about the pmwiki-users mailing list