coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: smaring on September 22, 2005, 11:03:23 PM

Title: Only files with the following extensions are accepted :
Post by: smaring on September 22, 2005, 11:03:23 PM
Read the "upload" faqs and such, and didn't find anything in the forums.  So here goes ....

When uploading an "ai" file I get:

Only files with the following extensions are accepted :

jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/ram/ra/rm/tiff/tif/doc/txt/rtf/pdf/xls/pps/ppt/zip/rar/gz/mdb.



Where is this coming from?  I'd like to add a few file types.

Cheers,
Steve
Title: Re: Only files with the following extensions are accepted :
Post by: smaring on September 22, 2005, 11:28:41 PM
I figure that is the definition of the combined "ALL" for Allowed Images, Movies, Audio, and Documents in the config screen.  I tried to explicitly add it to Documents with "doc,txt,rtf,pdf,xls,pps,ppt,zip,rar,gz,mdb,psd,ai,pub" like the manual says to do, but it ended up getting just "." in place of the ALL case of "jpg/jpeg/jpe/gif/png/bmp/jpc/ ....."
Title: Re: Only files with the following extensions are accepted :
Post by: artistsinhawaii on September 22, 2005, 11:44:21 PM
Can't help you with the coding but look into update.sql and search for jpg.

Study the strings there and make your additions accordingly,
then run update database from Admin tools.

Dennis