[pmwiki-users] How to control upload directory

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 12 09:19:14 CST 2007


On Mon, Feb 12, 2007 at 02:41:43PM +0800, 辉飞 饶 wrote:
>    Usually, PmWiki organize the uploaded files into separate subdirectories
>    in "pmwiki\uploads" by group or by page. Could I upload the file to any
>    predefined sub-directory other than the sub-directories named by page or
>    by group? For example, the subdirectory "pmwiki\uploads\test", where
>    "test" is neither a page name nor a group name.

If you want all uploads to go into a single subdirectory, you
can do:

    $UploadPrefixFmt = '/test';

Pm




More information about the pmwiki-users mailing list