Thomas Bruederli
2014-04-21 eea11ecdde396ffc261c20ab930120612260d931
bin/update.sh
@@ -22,7 +22,6 @@
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
require_once INSTALL_PATH . 'program/include/clisetup.php';
require_once INSTALL_PATH . 'installer/rcube_install.php';
// get arguments
$opts = rcube_utils::get_opt(array('v' => 'version', 'y' => 'accept'));
@@ -36,7 +35,7 @@
    $opts['version'] = RCMAIL_VERSION;
}
$RCI = rcube_install::get_instance();
$RCI = rcmail_install::get_instance();
$RCI->load_config();
if ($RCI->configured) {
@@ -147,7 +146,7 @@
  // check file type detection
  if ($RCI->check_mime_detection()) {
    echo "WARNING: File type detection doesn't work properly!\n";
    echo "Please check the 'mime_magic' config option or the finfo functions of PHP andrun this script again.\n";
    echo "Please check the 'mime_magic' config option or the finfo functions of PHP and run this script again.\n";
  }
  if ($RCI->check_mime_extensions()) {
    echo "WARNING: Mimetype to file extension mapping doesn't work properly!\n";