altocompta/html/test_smarty.php
2006-01-23 13:45:57 +00:00

15 lines
277 B
PHP
Executable file

<?php
require('Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = '../templates';
$smarty->compile_dir = '../compile';
$smarty->cache_dir = '../cache';
$smarty->config_dir = '../configs';
$smarty->assign('name', 'Stan');
$smarty->display('index.tpl');
?>