From: julmis Date: Sat, 30 Sep 2006 16:07:43 +0000 (+0000) Subject: Merging fixes from MOODLE_16_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9337f3e48decd91a6238060fbe57dbf591a09285;p=moodle.git Merging fixes from MOODLE_16_STABLE --- diff --git a/lib/speller/server-scripts/spellchecker.php b/lib/speller/server-scripts/spellchecker.php index b14cad185d..9c2cb716c9 100644 --- a/lib/speller/server-scripts/spellchecker.php +++ b/lib/speller/server-scripts/spellchecker.php @@ -23,7 +23,7 @@ $aspell_opts = '-a -H --lang='. $lang .' --encoding=utf-8'; if (!empty($CFG->aspellextradicts)) { // eg /usr/bin/.aspell.en.pws $aspell_opts .= ' --add-extra-dicts='.$CFG->aspellextradicts; } -$tempfiledir = './'; +$tempfiledir = $CFG->dataroot; // Use dataroot since it must be writable $input_separator = 'A'; function check_language($cmd) {