diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/config.php | 8 | ||||
-rw-r--r-- | installer/test.php | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/installer/config.php b/installer/config.php index 39bf48ea4..0e4ac5af2 100644 --- a/installer/config.php +++ b/installer/config.php @@ -152,15 +152,18 @@ echo $check_spell->show(intval($RCI->getprop('enable_spellcheck')), array('value <?php $select_spell = new html_select(array('name' => '_spellcheck_engine', 'id' => "cfgspellcheckengine")); if (extension_loaded('pspell')) - $select_spell->add('pspell', 'pspell'); + $select_spell->add('Pspell', 'pspell'); +if (extension_loaded('enchant')) + $select_spell->add('Enchant', 'enchant'); $select_spell->add('Googie', 'googie'); +$select_spell->add('ATD', 'atd'); echo $select_spell->show($RCI->is_post ? $_POST['_spellcheck_engine'] : 'pspell'); ?> <label for="cfgspellcheckengine">Which spell checker to use</label><br /> -<p class="hint">GoogieSpell implies that the message content will be sent to Google in order to check the spelling.</p> +<p class="hint">Googie implies that the message content will be sent to external server to check the spelling.</p> </dd> <dt class="propname">identities_level</dt> @@ -172,6 +175,7 @@ $input_ilevel->add('many identities with possibility to edit all params', 0); $input_ilevel->add('many identities with possibility to edit all params but not email address', 1); $input_ilevel->add('one identity with possibility to edit all params', 2); $input_ilevel->add('one identity with possibility to edit all params but not email address', 3); +$input_ilevel->add('one identity with possibility to edit only signature', 4); echo $input_ilevel->show($RCI->getprop('identities_level'), 0); ?> 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(); |