MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir

This commit is contained in:
Tom Lanyon
2011-09-10 10:35:46 +02:00
committed by Petr Skoda
parent 383d388411
commit 365bec4c06
16 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ minify($jsfiles);
function minify($files) {
global $CFG;
$cachedir = $CFG->dataroot.'/cache/js';
$cachedir = $CFG->cachedir.'/js';
// make sure the cache dir exist
if (!file_exists($cachedir)) {
@mkdir($cachedir, $CFG->directorypermissions, true);