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
@@ -95,7 +95,7 @@ if ($themerev <= 0 or $rev != $themerev) {
make_localcache_directory('theme', false);
js_write_cache_file_content($candidate, js_minify($theme->javascript_files($type)));
js_write_cache_file_content($candidate, core_minify::js_files($theme->javascript_files($type)));
// Verify nothing failed in cache file creation.
clearstatcache();
if (file_exists($candidate)) {