Home  >  Article  >  Backend Development  >  phpcms中为什么有2种模板形式解决办法

phpcms中为什么有2种模板形式解决办法

WBOY
WBOYOriginal
2016-06-13 13:49:11781browse

phpcms中为什么有2种模板形式
phpcms中为什么有2种模板形式 如:1。在入口文件目录下有一个templates模板。而在模块module中也有一个templates。为什么呀?如spend_list.html 就在module模板下面对应有一个spend_list.tpl.php 各位这是为什么呀?就解

------解决方案--------------------
module 里,你可以理解为缓存文件。
他是把界面和程序结合后的产物,就相当于你最初学php 写的html 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