alecpl
2009-05-30 32ca1f9fc8a78e092565b51cc97faa724bb4e6cf
program/js/tiny_mce/plugins/spellchecker/config.php
@@ -2,11 +2,12 @@
   /** start RoundCube specific code */
   
   define('INSTALL_PATH', preg_replace('/program\/js\/.+$/', '', getcwd()));
   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 */