Home  >  Article  >  Backend Development  >  关于smarty的有关问题

关于smarty的有关问题

WBOY
WBOYOriginal
2016-06-13 13:23:44822browse

关于smarty的问题?
把缓存设置为false了,不涉及缓存的前提下,smarty模板里,既然有了控制器,有了模板文件(templates),还要编译目录(templates_c)干嘛!

------解决方案--------------------
与缓存相关的目录是 cache,把缓存永久设置为false了,cache 目录可以不要
编译目录(templates_c)中保存的是从模板文件翻译而成的 php 程序文件。实际执行的就是这些文件

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调用.bat文件的有关问题 Next article: 函数分析