From 5d2b7fd387bd887be957d9221c66a030b374938b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 15 Aug 2008 06:35:09 -0400
Subject: [PATCH] Added pspell support patch by Kris Steinhoff (#1483960)

---
 config/main.inc.php.dist |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index e79e3f3..5f61b9f 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -189,6 +189,10 @@
 // requires to be compiled with Open SSL support
 $rcmail_config['enable_spellcheck'] = TRUE;
 
+// Set the spell checking engine. 'googie' is the default. 'pspell' is also available,
+// but requires the Pspell extensions. When using Nox Spell Server, also set 'googie' here.
+$rcmail_config['spellcheck_engine'] = 'googie';
+
 // For a locally installed Nox Spell Server, please specify the URI to call it.
 // Get Nox Spell Server from http://orangoo.com/labs/?page_id=72
 // Leave empty to use the Google spell checking service, what means
@@ -197,7 +201,8 @@
 
 // These languages can be selected for spell checking.
 // Configure as a PHP style hash array: array('en'=>'English', 'de'=>'Deutsch');
-// Leave empty for default set of Google spell check languages
+// Leave empty for default set of Google spell check languages, should be defined
+// when using local Pspell extension
 $rcmail_config['spellcheck_languages'] = NULL;
 
 // path to a text file which will be added to each sent message

--
Gitblit v1.9.1