linux下redirect大小写问题

浏览:751 发布日期:2015/11/08 分类:求助交流 关键字: redirect 大小写
使用redirect方法跳转URL生成错误,代码为define('APP_DEBUG',false);$this->redirect('/Home/Index/link',[],1,'it will go to the link page.');但是生成的URL后缀为"index.php/home/index/link.html",即首字母变成了小写,
导致403访问错误。
环境为Linux 3.10.0-123.9.3.el7.x86_64,nginx 1.7.9,php 5.5.7,thinkphp3.2.3

但是APP_DEBUG为true时生成的链接是正确的,即首字母大写。
最佳答案
评论( 相关
后面还有条评论,点击查看>>