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
@@ -64,7 +64,7 @@ class Profiler
{
global $CFG, $USER;
// List all files under our temporary directory
$tempdir = $CFG->dataroot . '/temp/profile/' . $USER->id;
$tempdir = $CFG->tempdir . '/profile/' . $USER->id;
if ($files = scandir($tempdir)) {
// Concatenate the files
print_r($files);