summaryrefslogtreecommitdiff
path: root/config/main.inc.php.dist
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-29 17:30:11 +0000
committerthomascube <thomas@roundcube.net>2011-08-29 17:30:11 +0000
commitf7b58afb94ba5da1dd7b1e2fa7b67c398b4d3d1e (patch)
treefd483ae8810ec93d86ee34b05f8c7d02dccf1c04 /config/main.inc.php.dist
parentd78771ad3ce75dc7eb5bb43f822be0b0ab8d6db2 (diff)
Make list of mimetypes that open in preview window configurable (#1487625)
Diffstat (limited to 'config/main.inc.php.dist')
-rw-r--r--config/main.inc.php.dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 159331af1..822c6e63a 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -326,6 +326,11 @@ $rcmail_config['dont_override'] = array();
// 3 - one identity with possibility to edit all params but not email address
$rcmail_config['identities_level'] = 0;
+// Mimetypes supported by the browser.
+// attachments of these types will open in a preview window
+// either a comma-separated list or an array: 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/pdf'
+$rcmail_config['client_mimetypes'] = null; # null == default
+
// mime magic database
$rcmail_config['mime_magic'] = '/usr/share/misc/magic';