![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
例如:
include_once("./comm/Smarty.class.php"); //包含smarty类文件
$smarty = new Smarty(); //建立smarty实例对象$smarty
$smarty->templates("./templates"); //设置模板目录
$smarty->templates_c("./templates_c"); //设置编译目录
提示说:函数templates不存在,为什么?我把
$smarty->templates("./templates");
$smarty->templates_c("./templates_c");
两句删除,将文件放到comm目录下的时候可以了,不知是什么原因,还望大家解答,多谢了。
提问者:xilin 08-15 08:08
答复

