MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read
This commit is contained in:
@@ -73,7 +73,7 @@ require_once('Minify.php');
|
||||
$theme = theme_config::load($themename);
|
||||
|
||||
if ($rev > -1) {
|
||||
check_dir_exists(dirname($candidate), true, true);
|
||||
check_dir_exists(dirname($candidate));
|
||||
$fp = fopen($candidate, 'w');
|
||||
fwrite($fp, minify($theme->javascript_files($type)));
|
||||
fclose($fp);
|
||||
|
||||
Reference in New Issue
Block a user