Aleksander Machniak
2014-05-02 37ac40719f791d80a1cd0004629a1089019a0669
Fix IMAP connection test in installer so it is aware of imap_auth_type (#1489746)
2 files modified
6 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
installer/test.php 5 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -35,6 +35,7 @@
- Fix too small length of users.preferences column data type on MySQL
- Fix redundant warning when switching from html to text in empty editor (#1489819)
- Fix invalid host validation on login (#1489841)
- Fix IMAP connection test in installer so it is aware of imap_auth_type (#1489746)
RELEASE 1.0.0
-------------
installer/test.php
@@ -425,6 +425,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();