MDL-40995 simplify minify integration and fix all known issues
This commit is contained in:
@@ -83,7 +83,7 @@ if ($mimetype === 'application/x-javascript' && $allowcache) {
|
||||
|
||||
// If it doesn't exist, minify it and save to that location.
|
||||
if (!file_exists($cachefile)) {
|
||||
$content = js_minify(array($file));
|
||||
$content = core_minify::js_files(array($file));
|
||||
js_write_cache_file_content($cachefile, $content);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user