enable auto-escapin in smarty

This commit is contained in:
Manuel Raynaud
2013-09-05 10:25:45 +02:00
parent b70f5b1d68
commit be44367d41

View File

@@ -66,6 +66,8 @@ class SmartyParser extends Smarty implements ParserInterface
$this->debugging = $debug;
$this->escape_html = true;
// Prevent smarty ErrorException: Notice: Undefined index bla bla bla...
$this->error_reporting = E_ALL ^ E_NOTICE;