From 3b338f1e4f76c48c13eaa1166342168f06d5ab80 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 2 Dec 2013 13:24:04 +0100 Subject: Fix unreliable mimetype tests in Installer (#1489453) --- installer/rcube_install.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'installer') diff --git a/installer/rcube_install.php b/installer/rcube_install.php index df05db493..2fae3c5ca 100644 --- a/installer/rcube_install.php +++ b/installer/rcube_install.php @@ -467,7 +467,8 @@ class rcube_install $files = array( 'installer/images/roundcube_logo.png' => 'image/png', 'program/resources/blank.tif' => 'image/tiff', - 'skins/larry/templates/login.html' => 'text/html', + 'skins/larry/images/buttons.gif' => 'image/gif', + 'skins/larry/README' => 'text/plain', ); $errors = array(); @@ -490,7 +491,7 @@ class rcube_install 'application/zip' => 'zip', 'application/x-tar' => 'tar', 'application/java-archive' => 'jar', - 'image/bmp' => 'bmp', + 'image/gif' => 'gif', 'image/svg+xml' => 'svg', ); -- cgit v1.2.3