Thomas Bruederli
2014-08-18 3ebac0167bf20104fb7a2a55934765117760264c
installer/test.php
@@ -210,7 +210,6 @@
<h3>Test filetype detection</h3>
<p>
<?php
if ($errors = $RCI->check_mime_detection()) {
@@ -225,12 +224,9 @@
}
else {
  $RCI->pass('Fileinfo/mime_content_type configuration');
  echo "<br/>";
}
?>
</p>
<p>
<?php
if ($errors = $RCI->check_mime_extensions()) {
  $RCI->fail('Mimetype to file extension mapping');
@@ -239,6 +235,7 @@
}
else {
  $RCI->pass('Mimetype to file extension mapping');
  echo "<br/>";
}
?>
@@ -425,6 +422,11 @@
  $imap_user = idn_to_ascii($_POST['_user']);
  $imap = new rcube_imap(null);
  $imap->set_options(array(
    'auth_type' => $RCI->getprop('imap_auth_type'),
    'debug'     => $RCI->getprop('imap_debug'),
  ));
  if ($imap->connect($imap_host, $imap_user, $_POST['_pass'], $imap_port, $imap_ssl)) {
    $RCI->pass('IMAP connect', 'SORT capability: ' . ($imap->get_capability('SORT') ? 'yes' : 'no'));
    $imap->close();