From edaf66d242c45b7c1e7e61ac68f333c2cc89f693 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Tue, 2 Feb 2010 00:02:25 +0000 Subject: [PATCH] MINOR: add flv (flash file) to File::$allowed_extensions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@97936 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- filesystem/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/File.php b/filesystem/File.php index 9caa2e6f7..115294b33 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -54,7 +54,7 @@ class File extends DataObject { public static $allowed_extensions = array( 'html','htm','xhtml','js','css', 'png','gif','jpg','jpeg', - 'mov','mkv','mp3','m4a','swf', + 'mov','mkv','mp3','m4a','swf','flv' 'doc','docx','txt','rtf','xls','xlsx','pages', 'ppt','pptx','pps','csv', 'zip','zipx','sit','sitx','gz','pkg','dmg','hqx',