Home > Backend Development > PHP Tutorial > 关于smarty的有关问题

关于smarty的有关问题

WBOY
Release: 2016-06-13 13:23:44
Original
873 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template