4 回答老师您好,是这样我编写好test.tpl文件后直接在浏览器中输入index.php?controller=test&method=show结果却是Uncaught --> Smarty: unable to write file template_c,而等我到系统里的index.php中运行一次C('test','show')结果正常,再改回原来的C($controller,$method)后在浏览器中再次输入index.php?controller=test&method=show,结果也正常,这是为什