thp5 URL兼容模式问题

浏览:2332 发布日期:2016/03/26 分类:求助交流 关键字: tp5,url
我使用的环境是nginx,在<{:U('user/index/index')}>后生成的地址是localhost/index.php/user/index/index.html,而不是localhost/index.php?s=/user/index/index.html,我想问一下怎么设置,我的全局配置已经配置成'var_pathinfo' => 's',
最佳答案
评论( 相关
后面还有条评论,点击查看>>