From 3ddca3b945ecf36d799dfa9c772437a7dad62c5d Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 17 Jun 2011 02:39:39 -0400 Subject: [PATCH] - Don't log errors when charset conversion fails --- config/mimetypes.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/mimetypes.php b/config/mimetypes.php index 7fb4ed2..d404c1f 100644 --- a/config/mimetypes.php +++ b/config/mimetypes.php @@ -7,6 +7,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 +41,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