fenom/benchmark/sandbox/fenom.php
2013-08-23 00:55:53 +04:00

11 lines
244 B
PHP

<?php
require_once __DIR__.'/../../vendor/autoload.php';
$fenom = Fenom::factory(__DIR__.'/templates', __DIR__.'/compiled', Fenom::FORCE_COMPILE);
$fenom->display("greeting.tpl", array(
"user" => array(
"name" => "Ivka"
)
));