// Moved html and js compression from global smarty config to front office smarty config

This commit is contained in:
Damien Metzger
2013-02-13 14:38:43 +01:00
parent f9b3174b9c
commit 288021224c
3 changed files with 6 additions and 5 deletions
+5
View File
@@ -27,6 +27,11 @@
global $smarty;
$smarty->setTemplateDir(_PS_THEME_DIR_.'tpl');
if (Configuration::get('PS_HTML_THEME_COMPRESSION'))
$smarty->registerFilter('output', 'smartyMinifyHTML');
if (Configuration::get('PS_JS_HTML_THEME_COMPRESSION'))
$smarty->registerFilter('output', 'smartyPackJSinHTML');
function smartyTranslate($params, &$smarty)
{
global $_LANG;