Merge branch 'MDL-41660-imscc-tempdir' of https://github.com/mpetrowi/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 25 Sep 2013 00:14:57 +0000 (02:14 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 25 Sep 2013 00:14:57 +0000 (02:14 +0200)
backup/converter/imscc11/backuplib.php

index b6d7154..2d749bd 100644 (file)
@@ -139,7 +139,7 @@ class imscc11_backup_convert extends backup_execution_step {
 
         require_once($CFG->dirroot . '/backup/cc/cc_includes.php');
 
-        $tempdir = $CFG->dataroot . '/temp/backup/' . uniqid('', true);
+        $tempdir = $CFG->tempdir . '/backup/' . uniqid('', true);
 
         if (mkdir($tempdir, $CFG->directorypermissions, true)) {