summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-01-23 03:06:14 +0100
committerAndreas Fischer <bantu@owncloud.com>2014-01-23 03:06:14 +0100
commit96f194c0f6038444aae4270d2481a2ee1ccd7691 (patch)
treed3482df04cb8d008146c2d8d9c6652684c0339ea /lib
parent47ea7704ca796a23fc5e9ec8f4a7668d1bbe9446 (diff)
downloadnextcloud-server-96f194c0f6038444aae4270d2481a2ee1ccd7691.tar.gz
nextcloud-server-96f194c0f6038444aae4270d2481a2ee1ccd7691.zip
Add icons for mdb and accdb files.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/helper.php1
-rw-r--r--lib/private/mimetypes.list.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 90ef704c3cc..58bee9c6300 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -182,6 +182,7 @@ class OC_Helper {
'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => 'x-office/spreadsheet',
'application/vnd.oasis.opendocument.spreadsheet' => 'x-office/spreadsheet',
'application/vnd.oasis.opendocument.spreadsheet-template' => 'x-office/spreadsheet',
+ 'application/msaccess' => 'database',
);
if (isset($alias[$mimetype])) {
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 1ad333b5084..40fb1d2d97d 100644
--- a/lib/private/mimetypes.list.php
+++ b/lib/private/mimetypes.list.php
@@ -24,6 +24,7 @@
* Array mapping file extensions to mimetypes (in alphabetical order).
*/
return array(
+ 'accdb'=>'application/msaccess',
'ai' => 'application/illustrator',
'avi'=>'video/x-msvideo',
'bash' => 'text/x-shellscript',
@@ -60,6 +61,7 @@ return array(
'markdown' => 'text/markdown',
'mdown' => 'text/markdown',
'md' => 'text/markdown',
+ 'mdb'=>'application/msaccess',
'mdwn' => 'text/markdown',
'mobi' => 'application/x-mobipocket-ebook',
'mov'=>'video/quicktime',