From 3b338f1e4f76c48c13eaa1166342168f06d5ab80 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 02 Dec 2013 07:24:04 -0500
Subject: [PATCH] Fix unreliable mimetype tests in Installer (#1489453)

---
 installer/rcube_install.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index df05db4..2fae3c5 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -467,7 +467,8 @@
     $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 @@
       'application/zip'   => 'zip',
       'application/x-tar' => 'tar',
       'application/java-archive' => 'jar',
-      'image/bmp'     => 'bmp',
+      'image/gif'     => 'gif',
       'image/svg+xml' => 'svg',
     );
 

--
Gitblit v1.9.1