proxyhost) ? $CFG->proxyhost : ''; $config['GoogleSpell.proxyport'] = isset($CFG->proxyport) ? $CFG->proxyport : ''; $config['GoogleSpell.proxytype'] = isset($CFG->proxytype) ? $CFG->proxytype : 'HTML'; $config['GoogleSpell.proxyuser'] = isset($CFG->proxyuser) ? $CFG->proxyuser : ''; $config['GoogleSpell.proxypassword'] = isset($CFG->proxypassword) ? $CFG->proxypassword : ''; if ($config['general.engine'] === 'PSpell' or $config['general.engine'] === 'PSpellShell') { // moodlehack // 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'] = $CFG->aspellpath; $config['PSpellShell.tmp'] = '/tmp'; // Windows PSpellShell settings //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"'; //$config['PSpellShell.tmp'] = 'c:/temp'; } ?>