mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
13 lines
271 B
PHP
13 lines
271 B
PHP
<?php
|
|
|
|
require_once __DIR__.'/../../vendor/autoload.php';
|
|
|
|
$fenom = Fenom::factory(__DIR__.'/templates', __DIR__.'/compiled', 0);
|
|
|
|
$fenom->display("greeting.tpl", array(
|
|
"user" => array(
|
|
"name" => "Ivka",
|
|
'type' => 'new'
|
|
),
|
|
'type' => 'new'
|
|
)); |