summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-24 13:27:43 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-24 13:27:43 +0000
commit49d2876be2d890265dded1aa87ac2c01c25ff362 (patch)
treec97eb5e01a7e90a0afe51200a9c58d9d49b7d1d9 /roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
parent9b978b989e0dc418d43a12d95b4c6716108a7f50 (diff)
- Use built-in spellchecker instead of a PHP files of spellchecker plugin in TinyMCE
git-svn-id: https://svn.roundcube.net/trunk@3784 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php')
-rwxr-xr-xroundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
deleted file mode 100755
index b653dc900..000000000
--- a/roundcubemail/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';
-?>