diff --git a/html/test_smarty.php b/html/test_smarty.php new file mode 100755 index 000000000..1e035f0d1 --- /dev/null +++ b/html/test_smarty.php @@ -0,0 +1,15 @@ +template_dir = '../templates'; +$smarty->compile_dir = '../compile'; +$smarty->cache_dir = '../cache'; +$smarty->config_dir = '../configs'; + +$smarty->assign('name', 'Stan'); +$smarty->display('index.tpl'); + +?> + diff --git a/templates/index.tpl b/templates/index.tpl new file mode 100755 index 000000000..670da75a0 --- /dev/null +++ b/templates/index.tpl @@ -0,0 +1,9 @@ + + +Smarty + + +Hello, {$name}! + + +