Home > Backend Development > PHP Tutorial > thinkphp include,该如何处理

thinkphp include,该如何处理

WBOY
Release: 2016-06-13 12:12:58
Original
960 people have browsed it

thinkphp include
thinkphp include 其它模块,比如说
但是我没有UserAction,只有我有User文件夹和ken.html,就可以包含进来,这是为什么?


所有的逻辑处理都是在主模块里面么?
------解决思路----------------------
像网页头部或者底部这种共用的 页面 ,用thinkphp里面的layout布局就好了,具体的可以查阅下手册。代码都放在初始化的方法里。 其他的控制器都继承这个类。

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