From f7b58afb94ba5da1dd7b1e2fa7b67c398b4d3d1e Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 29 Aug 2011 17:30:11 +0000 Subject: Make list of mimetypes that open in preview window configurable (#1487625) --- config/main.inc.php.dist | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') 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'; -- cgit v1.2.3