summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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',