Примеры в отдельную папку

This commit is contained in:
Федор Подлеснов 2015-12-11 12:14:30 +03:00
parent 0f62ba3a29
commit 313413931b
7 changed files with 6 additions and 6 deletions

10
examples/example3.php Normal file
View file

@ -0,0 +1,10 @@
<?php
$data = array('phedor', 'andrey');
require_once '../klein.php';
$tpl = new Klein();
$tpl->compile('template3.html');
echo $tpl->render(array('names' => $data));