[IMPROVED] Auto-escape all used smarty variables
http://www.smarty.net/docs/en/variable.escape.html.tpl Addresses #1233
This commit is contained in:
parent
02cd098099
commit
a2a6f36c1f
@ -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