From 888d9e6579ca3dcd698210f3092a17aa0cb514cd Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 29 Aug 2011 17:30:11 +0000 Subject: Make list of mimetypes that open in preview window configurable (#1487625) git-svn-id: https://svn.roundcube.net/trunk@5144 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/config/main.inc.php.dist | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roundcubemail/config') diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist index 159331af1..822c6e63a 100644 --- a/roundcubemail/config/main.inc.php.dist +++ b/roundcubemail/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