MDL-40995 simplify minify integration and fix all known issues

This commit is contained in:
Petr Škoda
2013-08-03 17:16:17 +02:00
parent 7c3943ad0c
commit 6b32d6bc93
11 changed files with 316 additions and 160 deletions
+1 -1
View File
@@ -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);
}