summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/spellchecker/config.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-09-23 23:37:29 +0000
committersvncommit <devs@roundcube.net>2006-09-23 23:37:29 +0000
commit6649b1f0a5db6160d197a13ca79cfd67fbb02d77 (patch)
tree446ddf056d29c8f3984c117f1dc87d5a466b3779 /program/js/tiny_mce/plugins/spellchecker/config.php
parent3acbc508ba514b5b29e948944ce1dda83a58c5f8 (diff)
added TinyMCE spellchecker plugin, configured to use GoogleSpell
Diffstat (limited to 'program/js/tiny_mce/plugins/spellchecker/config.php')
-rw-r--r--program/js/tiny_mce/plugins/spellchecker/config.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/program/js/tiny_mce/plugins/spellchecker/config.php b/program/js/tiny_mce/plugins/spellchecker/config.php
new file mode 100644
index 000000000..5b0f3d51e
--- /dev/null
+++ b/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';
+?>