Fix unreliable mimetype tests in Installer (#1489453)

pull/157/head
Aleksander Machniak 11 years ago
parent ce6050cbbb
commit 3b338f1e4f

@ -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',
);

Loading…
Cancel
Save