Home >Backend Development >PHP Tutorial >这个模板怎么能确定它在哪

这个模板怎么能确定它在哪

WBOY
WBOYOriginal
2016-06-13 11:56:30985browse

这个模板如何能确定它在哪
$smarty->display('category.dwt', $cache_id);

从这句话中如何知道category.dwt在哪里呢,要看什么地方的参数才能知道呢
------解决方案--------------------
$smarty->template_dir

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
Previous article:PHP数组操作有关问题Next article:thinkPHP-模块分组