- bugfix enableSecurity() must init cache flags https://github.com/smarty-php/smarty/issues/247

This commit is contained in:
uwetews
2016-07-12 02:30:14 +02:00
parent b525d4d1d7
commit 02f95184ab
3 changed files with 6 additions and 3 deletions
+2
View File
@@ -258,6 +258,8 @@ class Smarty_Security
public function __construct($smarty)
{
$this->smarty = $smarty;
$this->smarty->_cache[ 'template_dir_new' ] = true;
$this->smarty->_cache[ 'config_dir_new' ] = true;
}
/**