summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-03-20 18:46:56 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-03-20 18:46:56 +0100
commit89c39b47bcbe3b5085e9a528a6dc0afcff161f37 (patch)
tree19e8a3dd730e85e7a473a462aadd60ad7350662c
parent632b3cbbbb7e2d70599d20a517b1b0a05aece294 (diff)
downloadnextcloud-server-89c39b47bcbe3b5085e9a528a6dc0afcff161f37.tar.gz
nextcloud-server-89c39b47bcbe3b5085e9a528a6dc0afcff161f37.zip
add microsoft office mimetypes to the fixlist - bugfix for oc-357
-rw-r--r--lib/mimetypes.fixlist.php8
1 files changed, 7 insertions, 1 deletions
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'
);