Home > php教程 > php手册 > CakePHP去除默认显示的标题及图标的方法

CakePHP去除默认显示的标题及图标的方法

WBOY
Release: 2016-06-13 12:26:03
Original
827 people have browsed it

去除的办法是:
修改cake\libs\view\templates\layouts\default.thtml,这个是视图文件的通用模板框架(带头部和脚部)。
另外:
cakephp视图文件的扩展名都是thtml,这个是默认值,如果想修改后缀名也是可以的。
修改的方法是:
早cake\libs\controller\controller.php里把 var $ext='.thtml'改成html即可。

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template