From 0a83971d3e6bc5dae958e304bea4bb1e7a33db59 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 27 Nov 2012 09:55:42 -0500
Subject: [PATCH] Clarify mime_magic config option; add new function to map mimetypes and filename extensions

---
 config/mimetypes.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/config/mimetypes.php b/config/mimetypes.php
index f0c1013..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',

--
Gitblit v1.9.1