Home  >  Article  >  Backend Development  >  这个模板如何能确定它在哪

这个模板如何能确定它在哪

WBOY
WBOYOriginal
2016-06-23 13:57:38810browse

$smarty->display('category.dwt', $cache_id);

从这句话中如何知道category.dwt在哪里呢,要看什么地方的参数才能知道呢


回复讨论(解决方案)

$smarty->template_dir

默认是在一个叫view目录文件下

你也可以看看smarty的配置文件...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn