]> git.mjollnir.org Git - moodle.git/commitdiff
setTempDir() set now the correct location
authoragrabs <agrabs>
Fri, 16 May 2008 11:39:15 +0000 (11:39 +0000)
committeragrabs <agrabs>
Fri, 16 May 2008 11:39:15 +0000 (11:39 +0000)
mod/feedback/analysis_to_excel.php

index c73ce1759ce325ea08c9bfb3ebac2528643a0264..aaa68ff21834651cdf877ffb637f198bdf10494f 100644 (file)
@@ -64,7 +64,7 @@
 
     // Creating a workbook
     $workbook = new EasyWorkbook("-");
-    $workbook->setTempDir('/srv/www/moodledata');
+    $workbook->setTempDir($CFG->dataroot.'/temp');
     $workbook->send($filename);
     $workbook->setVersion(8);
     // Creating the worksheets