summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-12-02 13:24:04 +0100
committerAleksander Machniak <alec@alec.pl>2013-12-02 13:24:04 +0100
commit3b338f1e4f76c48c13eaa1166342168f06d5ab80 (patch)
treeef414a21bf265ba138467881668b9626436f2d7b
parentce6050cbbbd207c2899acc8df4a59553e974eda9 (diff)
Fix unreliable mimetype tests in Installer (#1489453)
-rw-r--r--installer/rcube_install.php5
1 files changed, 3 insertions, 2 deletions
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',
);