mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Disable sandbox
This commit is contained in:
parent
e9b7951d7a
commit
e68f3dd99a
@ -54,17 +54,17 @@ class MacrosTest extends TestCase
|
|||||||
{macro.factorial num=10}');
|
{macro.factorial num=10}');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function _testSandbox()
|
// public function _testSandbox()
|
||||||
{
|
// {
|
||||||
try {
|
// try {
|
||||||
$this->fenom->compile("macro_recursive.tpl");
|
// $this->fenom->compile("macro_recursive.tpl");
|
||||||
$this->fenom->flush();
|
// $this->fenom->flush();
|
||||||
var_dump($this->fenom->fetch("macro_recursive.tpl", []));
|
// var_dump($this->fenom->fetch("macro_recursive.tpl", []));
|
||||||
} catch (\Exception $e) {
|
// } catch (\Exception $e) {
|
||||||
var_dump($e->getMessage() . ": " . $e->getTraceAsString());
|
// var_dump($e->getMessage() . ": " . $e->getTraceAsString());
|
||||||
}
|
// }
|
||||||
exit;
|
// exit;
|
||||||
}
|
// }
|
||||||
|
|
||||||
public function testMacros()
|
public function testMacros()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user