From 89c39b47bcbe3b5085e9a528a6dc0afcff161f37 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 20 Mar 2012 18:46:56 +0100 Subject: [PATCH] add microsoft office mimetypes to the fixlist - bugfix for oc-357 --- lib/mimetypes.fixlist.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/mimetypes.fixlist.php b/lib/mimetypes.fixlist.php index 1c6acbc4438..51f12dbcc29 100644 --- a/lib/mimetypes.fixlist.php +++ b/lib/mimetypes.fixlist.php @@ -10,5 +10,11 @@ return array( 'pl'=>'text/x-script.perl', 'py'=>'text/x-script.phyton', 'vcf' => 'text/vcard', - 'vcard' => 'text/vcard' + 'vcard' => 'text/vcard', + 'doc'=>'application/msword', + 'docx'=>'application/msword', + 'xls'=>'application/msexcel', + 'xlsx'=>'application/msexcel', + 'ppt'=>'application/mspowerpoint', + 'pptx'=>'application/mspowerpoint' ); -- 2.39.5