aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template.class.php')
-rw-r--r--include/template.class.php4
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";
}