Permalink
Browse files

MDL-34143 Add file type information for .mdb .accdb (MS Access databa…

…ses)
  • Loading branch information...
1 parent 2cbdaa7 commit 96aeb5be353b57abcd9daf86c2dc65b9ff365f97 @Dave-B Dave-B committed with marinaglancy Jul 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/filelib.php
View
2 lib/filelib.php
@@ -1375,6 +1375,7 @@ function &get_mimetypes_array() {
'xxx' => array ('type'=>'document/unknown', 'icon'=>'unknown'),
'3gp' => array ('type'=>'video/quicktime', 'icon'=>'quicktime', 'groups'=>array('video'), 'string'=>'video'),
'aac' => array ('type'=>'audio/aac', 'icon'=>'audio', 'groups'=>array('audio'), 'string'=>'audio'),
+ 'accdb' => array ('type'=>'application/msaccess', 'icon'=>'base'),
'ai' => array ('type'=>'application/postscript', 'icon'=>'eps', 'groups'=>array('image'), 'string'=>'image'),
'aif' => array ('type'=>'audio/x-aiff', 'icon'=>'audio', 'groups'=>array('audio'), 'string'=>'audio'),
'aiff' => array ('type'=>'audio/x-aiff', 'icon'=>'audio', 'groups'=>array('audio'), 'string'=>'audio'),
@@ -1438,6 +1439,7 @@ function &get_mimetypes_array() {
'latex'=> array ('type'=>'application/x-latex', 'icon'=>'text'),
'm' => array ('type'=>'text/plain', 'icon'=>'sourcecode'),
'mbz' => array ('type'=>'application/vnd.moodle.backup', 'icon'=>'moodle'),
+ 'mdb' => array ('type'=>'application/x-msaccess', 'icon'=>'base'),
'mov' => array ('type'=>'video/quicktime', 'icon'=>'quicktime', 'groups'=>array('video','web_video'), 'string'=>'video'),
'movie'=> array ('type'=>'video/x-sgi-movie', 'icon'=>'quicktime', 'groups'=>array('video'), 'string'=>'video'),
'm3u' => array ('type'=>'audio/x-mpegurl', 'icon'=>'mp3', 'groups'=>array('audio'), 'string'=>'audio'),

0 comments on commit 96aeb5b

Please sign in to comment.