diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-11-27 15:55:42 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-11-27 15:55:42 +0100 |
commit | 0a83971d3e6bc5dae958e304bea4bb1e7a33db59 (patch) | |
tree | 4fa01daab7b3b762d351285ef3fcb05f09af96ea /config/mimetypes.php | |
parent | 928cb3401bfb70b6a48fe60b198b672b4062f23a (diff) |
Clarify mime_magic config option; add new function to map mimetypes and filename extensions
Diffstat (limited to 'config/mimetypes.php')
-rw-r--r-- | config/mimetypes.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/mimetypes.php b/config/mimetypes.php index f0c101304..7665df3e9 100644 --- a/config/mimetypes.php +++ b/config/mimetypes.php @@ -1,5 +1,12 @@ <?php +/** + * Local mapping file to specify mime-types based on common file-name extensions + * + * Please note that this mapping takes precedence over the content-based mime-type detection + * and should only contain mappings which cannot be detected properly from the file contents. + */ + return array( 'xls' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', |