summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/spellchecker/config.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-24 13:27:43 +0000
committeralecpl <alec@alec.pl>2010-06-24 13:27:43 +0000
commitf4f6291ec16bd2fe368f868e667ea2071c514098 (patch)
treee5d74a7168dfb1a4a015f6db4d7f10076f95b515 /program/js/tiny_mce/plugins/spellchecker/config.php
parent2011bef155aacdfa8461a4d5c2cd3988d946d135 (diff)
- Use built-in spellchecker instead of a PHP files of spellchecker plugin in TinyMCE
Diffstat (limited to 'program/js/tiny_mce/plugins/spellchecker/config.php')
-rwxr-xr-xprogram/js/tiny_mce/plugins/spellchecker/config.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/program/js/tiny_mce/plugins/spellchecker/config.php b/program/js/tiny_mce/plugins/spellchecker/config.php
deleted file mode 100755
index b653dc900..000000000
--- a/program/js/tiny_mce/plugins/spellchecker/config.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
- /** start RoundCube specific code */
-
- define('INSTALL_PATH', preg_replace('/program[\\\\\/]js[\\\\\/].+$/', '', getcwd()));
- require_once INSTALL_PATH . 'program/include/iniset.php';
-
- $rcmail_config = new rcube_config();
- $config['general.engine'] = $rcmail_config->get('spellcheck_engine') == 'pspell' ? 'PSpell' : 'GoogleSpell';
- $config['GoogleSpell.rpc_uri'] = $rcmail_config->get('spellcheck_uri');
-
- /** end RoundCube specific code */
-
- // General settings
- //$config['general.engine'] = 'GoogleSpell';
- //$config['general.engine'] = 'PSpell';
- //$config['general.engine'] = 'PSpellShell';
- //$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php';
-
- // PSpell settings
- $config['PSpell.mode'] = PSPELL_FAST;
- $config['PSpell.spelling'] = "";
- $config['PSpell.jargon'] = "";
- $config['PSpell.encoding'] = "";
-
- // PSpellShell settings
- $config['PSpellShell.mode'] = PSPELL_FAST;
- $config['PSpellShell.aspell'] = '/usr/bin/aspell';
- $config['PSpellShell.tmp'] = '/tmp';
-
- // Windows PSpellShell settings
- //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
- //$config['PSpellShell.tmp'] = 'c:/temp';
-?>