]> git.donarmstrong.com Git - roundcube.git/blob - program/js/tiny_mce/plugins/spellchecker/config.php
Imported Upstream version 0.2~stable
[roundcube.git] / program / js / tiny_mce / plugins / spellchecker / config.php
1 <?php\r
2 \r
3         /** start RoundCube specific code */\r
4         \r
5         define('INSTALL_PATH', preg_replace('/program[\\\\\/]js[\\\\\/].+$/', '', getcwd()));\r
6         require_once INSTALL_PATH . 'program/include/iniset.php';\r
7         \r
8         $rcmail_config = new rcube_config();\r
9         $config['general.engine'] = $rcmail_config->get('spellcheck_engine') == 'pspell' ? 'PSpell' : 'GoogleSpell';\r
10         $config['GoogleSpell.rpc_uri'] = $rcmail_config->get('spellcheck_uri');\r
11         \r
12         /** end RoundCube specific code */\r
13 \r
14         // General settings\r
15         //$config['general.engine'] = 'GoogleSpell';\r
16         //$config['general.engine'] = 'PSpell';\r
17         //$config['general.engine'] = 'PSpellShell';\r
18         //$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php';\r
19 \r
20         // PSpell settings\r
21         $config['PSpell.mode'] = PSPELL_FAST;\r
22         $config['PSpell.spelling'] = "";\r
23         $config['PSpell.jargon'] = "";\r
24         $config['PSpell.encoding'] = "";\r
25 \r
26         // PSpellShell settings\r
27         $config['PSpellShell.mode'] = PSPELL_FAST;\r
28         $config['PSpellShell.aspell'] = '/usr/bin/aspell';\r
29         $config['PSpellShell.tmp'] = '/tmp';\r
30         \r
31         // Windows PSpellShell settings\r
32         //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';\r
33         //$config['PSpellShell.tmp'] = 'c:/temp';\r
34 ?>\r