Merge pull request #1313 from TheSerapher/issue-1233
[IMPROVED] Auto-escape all used smarty variables
This commit is contained in:
commit
c16945d564
@ -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;
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user