mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-03 19:30:49 +02:00
- bugfix enableSecurity() must init cache flags https://github.com/smarty-php/smarty/issues/247
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user