summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
diff options
context:
space:
mode:
authorestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-23 23:37:29 +0000
committerestadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-23 23:37:29 +0000
commit59d2dac613e7ac38da672f59797047140ba96704 (patch)
tree95b9a99711f3d9fbf2a86d052a951c4de8a03bd6 /roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
parent6c10f41884bf6b447961b860621383822efe0486 (diff)
added TinyMCE spellchecker plugin, configured to use GoogleSpell
git-svn-id: https://svn.roundcube.net/trunk@351 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php')
-rw-r--r--roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
new file mode 100644
index 000000000..5b0f3d51e
--- /dev/null
+++ b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
@@ -0,0 +1,24 @@
+<?php
+ $spellCheckerConfig = array();
+
+ // Spellchecker class use
+ // require_once("classes/TinyPspellShell.class.php"); // Command line pspell
+ require_once("classes/TinyGoogleSpell.class.php"); // Google web service
+ // require_once("classes/TinyPspell.class.php"); // Internal PHP version
+
+ // General settings
+ $spellCheckerConfig['enabled'] = false;
+
+ // Default settings
+ $spellCheckerConfig['default.language'] = 'en';
+ $spellCheckerConfig['default.mode'] = PSPELL_FAST;
+
+ // Normaly not required to configure
+ $spellCheckerConfig['default.spelling'] = "";
+ $spellCheckerConfig['default.jargon'] = "";
+ $spellCheckerConfig['default.encoding'] = "";
+
+ // Pspell shell specific settings
+ $spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
+ $spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
+?>