如果出現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