mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Added more allowed extensions to File::$allowed_extensions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100740 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
102fc47b58
commit
55eda363f4
@ -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',
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user