Add icons for mdb and accdb files.
This commit is contained in:
parent
47ea7704ca
commit
96f194c0f6
|
@ -182,6 +182,7 @@ class OC_Helper {
|
||||||
'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => 'x-office/spreadsheet',
|
'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => 'x-office/spreadsheet',
|
||||||
'application/vnd.oasis.opendocument.spreadsheet' => 'x-office/spreadsheet',
|
'application/vnd.oasis.opendocument.spreadsheet' => 'x-office/spreadsheet',
|
||||||
'application/vnd.oasis.opendocument.spreadsheet-template' => 'x-office/spreadsheet',
|
'application/vnd.oasis.opendocument.spreadsheet-template' => 'x-office/spreadsheet',
|
||||||
|
'application/msaccess' => 'database',
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($alias[$mimetype])) {
|
if (isset($alias[$mimetype])) {
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
* Array mapping file extensions to mimetypes (in alphabetical order).
|
* Array mapping file extensions to mimetypes (in alphabetical order).
|
||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
|
'accdb'=>'application/msaccess',
|
||||||
'ai' => 'application/illustrator',
|
'ai' => 'application/illustrator',
|
||||||
'avi'=>'video/x-msvideo',
|
'avi'=>'video/x-msvideo',
|
||||||
'bash' => 'text/x-shellscript',
|
'bash' => 'text/x-shellscript',
|
||||||
|
@ -60,6 +61,7 @@ return array(
|
||||||
'markdown' => 'text/markdown',
|
'markdown' => 'text/markdown',
|
||||||
'mdown' => 'text/markdown',
|
'mdown' => 'text/markdown',
|
||||||
'md' => 'text/markdown',
|
'md' => 'text/markdown',
|
||||||
|
'mdb'=>'application/msaccess',
|
||||||
'mdwn' => 'text/markdown',
|
'mdwn' => 'text/markdown',
|
||||||
'mobi' => 'application/x-mobipocket-ebook',
|
'mobi' => 'application/x-mobipocket-ebook',
|
||||||
'mov'=>'video/quicktime',
|
'mov'=>'video/quicktime',
|
||||||
|
|
Loading…
Reference in New Issue