summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-01-23 02:46:05 +0100
committerAndreas Fischer <bantu@owncloud.com>2014-01-23 02:46:05 +0100
commit47ea7704ca796a23fc5e9ec8f4a7668d1bbe9446 (patch)
tree0ed05442d924629fcdf933283b8274e69176b1fb /lib/private
parent689516ebd7a47847938420bf8715469b68fb3535 (diff)
downloadnextcloud-server-47ea7704ca796a23fc5e9ec8f4a7668d1bbe9446.tar.gz
nextcloud-server-47ea7704ca796a23fc5e9ec8f4a7668d1bbe9446.zip
Fix icons for xml,ppt,dot,dotx files.
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/helper.php2
-rw-r--r--lib/private/mimetypes.list.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 1c8d01c141f..90ef704c3cc 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -161,6 +161,7 @@ class OC_Helper {
'application/vnd.oasis.opendocument.text-template' => 'x-office/document',
'application/vnd.oasis.opendocument.text-web' => 'x-office/document',
'application/vnd.oasis.opendocument.text-master' => 'x-office/document',
+ 'application/mspowerpoint' => 'x-office/presentation',
'application/vnd.ms-powerpoint' => 'x-office/presentation',
'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'x-office/presentation',
'application/vnd.openxmlformats-officedocument.presentationml.template' => 'x-office/presentation',
@@ -171,6 +172,7 @@ class OC_Helper {
'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' => 'x-office/presentation',
'application/vnd.oasis.opendocument.presentation' => 'x-office/presentation',
'application/vnd.oasis.opendocument.presentation-template' => 'x-office/presentation',
+ 'application/msexcel' => 'x-office/spreadsheet',
'application/vnd.ms-excel' => 'x-office/spreadsheet',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'x-office/spreadsheet',
'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'x-office/spreadsheet',
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 9db396e9fd2..1ad333b5084 100644
--- a/lib/private/mimetypes.list.php
+++ b/lib/private/mimetypes.list.php
@@ -36,6 +36,8 @@ return array(
'c++' => 'text/x-c++src',
'doc'=>'application/msword',
'docx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dot'=>'application/msword',
+ 'dotx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
'dv'=>'video/dv',
'epub' => 'application/epub+zip',
'exe'=>'application/x-ms-dos-executable',