windows环境下,smarty模版路径的问题?
路径定义:$smarty->assign('ROOTPATH' ,$rootpath."" )/怀疑是不是这句有问题,
调用变量:$smarty->assign('catalog',$catalog );//$catalog是路径变量
引用文件:{include file="news/$catalog/pageheader.tpl"}
------------------------------------------------
(linux下是正确的,在windows下出现错误:
unable to read template resource: "news//pageheader.tpl"
好像是$catalog不起作用???