用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1299|回复: 2
收起左侧

[版本 3.x] $route['default_controller']设置问题

[复制链接]
发表于 2016-4-26 14:50:18 | 显示全部楼层 |阅读模式
我的文件放在ci/application/controllers/index/home.php,当我把$route['default_controller'] = "index/home"设为默认值时,通过localhost/ci/打开时却报404 Page Not Found 错误,用localhost/ci/index/home/才能正常打开,不知道是什么原因造成的,望大家能够帮助我解决下这个问题,谢谢了。
发表于 2016-4-26 15:17:56 | 显示全部楼层
应该是CI不支持多级的默认控制器设置。
发表于 2016-4-26 15:18:33 | 显示全部楼层
3.x 的 default_controller 不支援一級目錄

本版积分规则