diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/rcube_install.php | 5 | ||||
-rw-r--r-- | installer/test.php | 2 |
2 files changed, 4 insertions, 3 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', ); diff --git a/installer/test.php b/installer/test.php index f834308ad..5d28d5f57 100644 --- a/installer/test.php +++ b/installer/test.php @@ -91,7 +91,7 @@ if ($RCI->config['log_driver'] != 'syslog') $dirs[] = $RCI->config['log_dir'] ? $RCI->config['log_dir'] : 'logs'; foreach ($dirs as $dir) { - $dirpath = $dir[0] == '/' ? $dir : INSTALL_PATH . $dir; + $dirpath = rcube_utils::is_absolute_path($dir) ? $dir : INSTALL_PATH . $dir; if (is_writable(realpath($dirpath))) { $RCI->pass($dir); $pass = true; |