From 8f26d90f2374ac30c184af2c2750eb106876a95d Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 3 Feb 2005 20:37:20 +0000 Subject: [PATCH] fix example --- QUICK_START | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/QUICK_START b/QUICK_START index ac3982f2..05ec66bc 100644 --- a/QUICK_START +++ b/QUICK_START @@ -55,13 +55,18 @@ Edit the index.php file to look like the following: require('/usr/local/lib/php/Smarty/lib/Smarty.lib.php'); $smarty = new Smarty(); +$smarty->template_dir = '/web/www.domain.com/smarty/templates'; +$smarty->compile_dir = '/web/www.domain.com/smarty/templates_c'; +$smarty->cache_dir = '/web/www.domain.com/smarty/cache'; +$smarty->config_dir = '/web/www.domain.com/smarty/configs'; + $smarty->assign('name', 'Ned'); $smarty->display('index.tpl'); ?> -SET SMARTY TEMPLATE +SETUP SMARTY TEMPLATE $> vi /web/www.domain.com/smarty/templates/index.tpl