[pmwiki-users] "images", not "images/Main"

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 14 17:45:26 CDT 2006

On Thu, Sep 14, 2006 at 05:39:33PM -0500, JB wrote:
> I specified $UploadDir to "images".
>     $UploadDir = "images";
> When I upload a file PMWiki creates a "Main" directory 
> inside the images directory and puts the uploaded 
> file into it.
> I wanted it to go into "images", not "images/Main".
> What is going on?

You have uploads set to organize files on a per-group
basis, so PmWiki is creating a directory for the 'Main'
group where it can hold the files being uploaded.

If you want the uploads organized on a per-page or
sitewide basis, see $UploadPrefixFmt and the Cookbook.UploadGroups


More information about the pmwiki-users mailing list