[pmwiki-users] Don't overwrite attachments - but inform me

Petko Yotov 5ko at free.fr
Thu Jul 19 04:14:25 CDT 2007

On Thursday 19 July 2007, Mildiner, Melvyn wrote:
> How can I avoid overwriting existing attachments? Ideally, I'd like an
> error along the lines of "An attachment called "screenshot1.jpeg"
> already exists. Please rename your attachment with a unique filename."

$EnableUploadOverwrite = 0;

See http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin


More information about the pmwiki-users mailing list