From 70cc688fab8fa2936275d5df66ce6f4d0918adb0 Mon Sep 17 00:00:00 2001 From: jean Date: Tue, 4 Sep 2012 11:08:38 +1200 Subject: [PATCH] NEW 7838 Support for document as a category in File class --- filesystem/File.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filesystem/File.php b/filesystem/File.php index c09cc0364..56643fe56 100644 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -138,6 +138,9 @@ class File extends DataObject { ), 'flash' => array( 'swf', 'fla' + ), + 'doc' => array( + 'doc','docx','txt','rtf','xls','xlsx','pages', 'ppt','pptx','pps','csv', 'html','htm','xhtml', 'xml','pdf' ) );