left_delimiter = "{"; $smarty->right_delimiter = "}"; $smarty->template_dir = "tpl"; $smarty->compile_dir = "template_c"; $smarty->cache_dir = "cache"; $smarty->assig('articletitle', '文章標(biāo)題'); $smarty->display('test.tpl'); ?>
不知道哪里有問題
不知道哪里有問題
2016-03-10
舉報(bào)
2016-03-11
$smarty->assig改成$smarty->assign,如果你的apache可以用,為什么不直接localhost進(jìn)入