From 4765b261f8c9ffbe89dd62d5e34f085eb2b0881d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 02 May 2014 13:38:31 -0400
Subject: [PATCH] Add all possible options in spellcheck_engine selector
---
installer/config.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/installer/config.php b/installer/config.php
index fd7932a..043c273 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -153,7 +153,10 @@
$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');
--
Gitblit v1.9.1