summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/test.php b/installer/test.php
index 7a6b1b6da..b1b67e57d 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -115,6 +115,7 @@ $db_working = false;
if ($RCI->configured) {
if (!empty($RCI->config['db_dsnw'])) {
$DB = rcube_db::factory($RCI->config['db_dsnw'], '', false);
+ $DB->set_debug((bool)$RCI->config['sql_debug']);
$DB->db_connect('w');
if (!($db_error_msg = $DB->is_error())) {
@@ -424,6 +425,11 @@ if (isset($_POST['imaptest']) && !empty($_POST['_host']) && !empty($_POST['_user
$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();