Merge pull request #1313 from TheSerapher/issue-1233

[IMPROVED] Auto-escape all used smarty variables
This commit is contained in:
Sebastian Grewe 2014-01-09 22:11:12 -08:00
commit c16945d564

View File

@ -170,6 +170,7 @@ if ($config['smarty']['cache']) {
$smarty->setCaching(Smarty::CACHING_LIFETIME_SAVED);
$smarty->cache_lifetime = $config['smarty']['cache_lifetime'];
$smarty->cache_dir = BASEPATH . "templates/cache/" . THEME;
$smarty->escape_html = true;
$smarty->use_sub_dirs = true;
}
?>