/ Published in: PHP
Expand |
Embed | Plain Text
$base = "/WWWROOT/htdocs/"; require(SMARTY_DIR.'Smarty.class.php'); $smarty = new Smarty; $smarty->template_dir = $base.'/smarty/templates/'; $smarty->compile_dir = $base.'/smarty/templates_c/'; $smarty->config_dir = $base.'/smarty/configs/'; $smarty->cache_dir = $base.'/smarty/cache/'; $smarty->assign("wut",$wut);
You need to login to post a comment.
