关于template的菜鸟问题
我建了一个xdjl虚拟目录~
template.inc放在xdjl->commonfunction目录下
如果我要创建一个实例是不是应该这样写
<?
require "../commonfunction/template.inc";
$tpl = new Template("../commonfucntion/template","remove");
?>
但是运行的时候出现错误:
Template Error: set_root: ../commonfunction/Template is not a directory.
谁知道是怎么回事吗?