mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
add enableSecurity()
This commit is contained in:
@@ -18,6 +18,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
|
||||
public function setUp()
|
||||
{
|
||||
$this->setUpSmarty(dirname(__FILE__));
|
||||
$this->smarty->enableSecurity();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -18,6 +18,7 @@ class FileResourceTest extends PHPUnit_Smarty
|
||||
public function setUp()
|
||||
{
|
||||
$this->setUpSmarty(dirname(__FILE__));
|
||||
$this->smarty->enableSecurity();
|
||||
}
|
||||
|
||||
public function testInit()
|
||||
|
Reference in New Issue
Block a user