1
2
3
4
5
6
7
8
9
10
11
12
| <?php
| require '../vendor/autoload.php';
| use Smarty\Smarty;
| $smarty = new Smarty();
|
| $smarty->setTemplateDir('../ihtml');
| $smarty->setCompileDir('../compile');
| #$smarty->setCacheDir('../ihtml/smarty/cache');
|
| $smarty->display('index.tpl');
| echo 'index';
| ?>
|
|