gpt4 book ai didi

cakephp - CakePHP 安装的索引页是否有默认 Controller ?

转载 作者:行者123 更新时间:2023-12-04 00:01:44 25 4
gpt4 key购买 nike

我刚刚成功安装了 CakePHP,我看到我可以编辑 home.ctp查看但是否有索引页的默认 Controller ?

To change the content of this page, create: APP/views/pages/home.ctp.
To change its layout, create: APP/views/layouts/default.ctp.
You can also add some CSS styles for your pages at: APP/webroot/css.

最佳答案

是的,默认 Controller 是 PagesController,位于:

cake/libs/controller/pages_controller.php

关于cakephp - CakePHP 安装的索引页是否有默认 Controller ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1250842/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com