如果出现Fatal error: Uncaught --> Smarty: Unable to load template 'file:test.tpl' <-- thrown in 的话,$smarty->display('test.tpl');改成$smarty->display('../tpl/test.tpl');加一个地址试一哈,我就是这样的
2017-04-05