tp3.2 页面Windows正常 linux异常,页面找不到
2024-09-24 05:27:54
这个问题主要是tp3.2
在读取控制器里的方法时,会把方法自动转为小写,
然后去对应view成找html文件,自然找不到。
class textController extends ComController
{ public function helloWorld(){
$this->display();
// 这个页面就回去Text目录下面找helloworld.html 页面 而不是helloWorld.html // 应该改为 $this->display('Text/helloworld');
}
}
最新文章
- 开发者接入 基本配置 服务器配置 out.aspx
- a new Poster
- c#/js代码命名规范及代码规范
- MongoDB-JAVA-Driver 3.2版本常用代码全整理(3) - 聚合
- 详解反射->;Type.System
- iPhone 6/6 Plus国行版开卖当日抢购攻略
- OpenGL 4.0 GLSL 实现 投影纹理映射(Projective Texture Mapping) (转)
- 高仿百度传课应用客户端源码iOS版
- Big Clock
- bootsrtap (-)
- Windows10关闭快速启动
- ASP.NET MVC + 百度富文本编辑器 + EasyUi + EntityFrameWork 制作一个添加新闻功能
- 201521123081《Java程序设计》 第9周学习总结
- Spring MVC报错:The request sent by the client was syntactically incorrect ()
- G++ C++之区别
- 2018牛客27---D---愤怒: (有关子序列的dp问题)
- Java 组合
- Haskell语言学习笔记(48)Data.Tuple
- nginx配置【转】
- swift--添加新手引导页