summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-02 19:11:57 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-02 19:38:31 +0200
commit4765b261f8c9ffbe89dd62d5e34f085eb2b0881d (patch)
treeb2cdb262248ffb157a55e670ec90287ba42cc298
parenta88f241250fa609e63f7a09e7f2f9d76367484b9 (diff)
Add all possible options in spellcheck_engine selector
-rw-r--r--installer/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/config.php b/installer/config.php
index fd7932af4..043c273b8 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -153,7 +153,10 @@ echo $check_spell->show(intval($RCI->getprop('enable_spellcheck')), array('value
$select_spell = new html_select(array('name' => '_spellcheck_engine', 'id' => "cfgspellcheckengine"));
if (extension_loaded('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');