From f7b58afb94ba5da1dd7b1e2fa7b67c398b4d3d1e Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 29 Aug 2011 13:30:11 -0400 Subject: [PATCH] Make list of mimetypes that open in preview window configurable (#1487625) --- config/main.inc.php.dist | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index 159331a..822c6e6 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -326,6 +326,11 @@ // 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'; -- Gitblit v1.9.1