MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir

This commit is contained in:
Tom Lanyon
2011-09-10 10:35:39 +02:00
committed by Petr Skoda
parent 3e93987142
commit 7aa06e6ded
50 changed files with 111 additions and 111 deletions
+1 -1
View File
@@ -2176,7 +2176,7 @@ function put_records_csv($file, $records, $table = NULL) {
echo "x";
if(!($fp = @fopen($CFG->dataroot.'/temp/'.$file, 'w'))) {
if(!($fp = @fopen($CFG->tempdir.'/'.$file, 'w'))) {
print_error('put_records_csv failed to open '.$file);
}