Re: Proposed patch

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Quoting "Heath S. Hendrickson" <[email protected]>:

> I'm going to write a patch to allow the admin to set wheter to store
> files with their original filename or the md5(microtime)  version.

I wouldn't recommend doing this; it'd prevent you from having 2 images 
with the
same name in *all of Ansel* - not just in one gallery.

Better to change the VFS name of images (which will be localized to
per-gallery), and warn if you're about to overwrite an existing image (you'd
have to know not to create a new datatree object in that case, though), 
than to
mess with the datatree end of this.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez
-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.