diff options
author | mistic100 <mistic@piwigo.org> | 2012-12-26 11:39:32 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-12-26 11:39:32 +0000 |
commit | 69a20717788a577735e840d86447746c4dcb3f94 (patch) | |
tree | 5dc43720d3fba723525f5643c937d1723d5dd8b1 /include/template.class.php | |
parent | 9cc816d364057828cecc26dc1432448a57f261e9 (diff) |
bug:2663 replace JSmin by JShrink
git-svn-id: http://piwigo.org/svn/trunk@19576 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/template.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/template.class.php b/include/template.class.php index d43f8a79a..1dea68164 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -1387,8 +1387,8 @@ final class FileCombiner $js = file_get_contents(PHPWG_ROOT_PATH . $file); if (strpos($file, '.min')===false and strpos($file, '.packed')===false ) { - require_once(PHPWG_ROOT_PATH.'include/jsmin.class.php'); - try { $js = JSMin::minify($js); } catch(Exception $e) {} + require_once(PHPWG_ROOT_PATH.'include/jshrink.class.php'); + try { $js = JShrink_Minifier::minify($js); } catch(Exception $e) {} } return trim($js, " \t\r\n;").";\n"; } |