fenom/benchmark/sandbox/fenom.php

13 lines
271 B
PHP
Raw Normal View History

2013-07-22 18:03:43 +04:00
<?php
2013-08-11 19:55:30 +04:00
require_once __DIR__.'/../../vendor/autoload.php';
2013-09-02 17:40:58 +04:00
$fenom = Fenom::factory(__DIR__.'/templates', __DIR__.'/compiled', 0);
2013-08-11 19:55:30 +04:00
2013-08-23 00:55:53 +04:00
$fenom->display("greeting.tpl", array(
"user" => array(
2013-09-02 17:40:58 +04:00
"name" => "Ivka",
'type' => 'new'
),
'type' => 'new'
2013-08-23 00:55:53 +04:00
));