From fc52af24f1418d6590a2d37a0d8cc31b123e38f6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 19 Aug 2014 12:08:35 -0400 Subject: [PATCH] Fix merge error that disabled contact drag'n'drop --- config/mimetypes.php | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/config/mimetypes.php b/config/mimetypes.php index 7fb4ed2..7665df3 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', @@ -7,6 +14,7 @@ 'xlc' => 'application/vnd.ms-excel', 'xlt' => 'application/vnd.ms-excel', 'xlw' => 'application/vnd.ms-excel', + 'pdf' => 'application/pdf', 'ppt' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'pot' => 'application/vnd.ms-powerpoint', @@ -40,6 +48,9 @@ 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xps' => 'application/vnd.ms-xpsdocument', + 'rar' => 'application/x-rar-compressed', + 'vcf' => 'text/vcard', + 'ics' => 'text/calendar', ); -?> \ No newline at end of file +?> -- Gitblit v1.9.1