yw86 发表于 2016-4-26 14:50:18

$route['default_controller']设置问题

我的文件放在ci/application/controllers/index/home.php,当我把$route['default_controller'] = "index/home"设为默认值时,通过localhost/ci/打开时却报404 Page Not Found 错误,用localhost/ci/index/home/才能正常打开,不知道是什么原因造成的,望大家能够帮助我解决下这个问题,谢谢了。

yuzhigang5460 发表于 2016-4-26 15:17:56

应该是CI不支持多级的默认控制器设置。

Closer 发表于 2016-4-26 15:18:33

3.x 的 default_controller 不支援一級目錄
页: [1]
查看完整版本: $route['default_controller']设置问题