From: agrabs <agrabs> Date: Fri, 16 May 2008 11:39:15 +0000 (+0000) Subject: setTempDir() set now the correct location X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a2ab50b0c7429b647094773446513ec39ae8071f;p=moodle.git setTempDir() set now the correct location --- diff --git a/mod/feedback/analysis_to_excel.php b/mod/feedback/analysis_to_excel.php index c73ce1759c..aaa68ff218 100644 --- a/mod/feedback/analysis_to_excel.php +++ b/mod/feedback/analysis_to_excel.php @@ -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