MINOR Added more allowed extensions to File::$allowed_extensions (from r100740)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105633 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-25 04:26:31 +00:00
parent d87964f359
commit 132a5ebaab

View File

@ -53,11 +53,12 @@ class File extends DataObject {
*/
public static $allowed_extensions = array(
'html','htm','xhtml','js','css',
'png','gif','jpg','jpeg',
'mov','mkv','mp3','m4a','swf','flv',
'bmp','png','gif','jpg','jpeg','ico','pcx','tif','tiff',
'au','mid','midi','mpa','mp3','ogg','m4a','ra','wma','wav','cda',
'avi','mpg','mpeg','asf','wmv','m4v','mov','mkv','mp4','swf','flv','ram','rm',
'doc','docx','txt','rtf','xls','xlsx','pages',
'ppt','pptx','pps','csv',
'zip','zipx','sit','sitx','gz','pkg','dmg','hqx',
'cab','arj','tar','zip','zipx','sit','sitx','gz','tgz','bz2','ace','arc','pkg','dmg','hqx','jar',
'xml','pdf',
);