Open Lewis1316 opened 9 years ago
$route['default_controller'] = 'index/home'; this index is a folder and the home is a controller in it, but when I ran the code, the page showed "The page you requested was not found." why doesn't default_controller work?
该设置项是不支持传入文件夹名字的,比如你设置的是$route['default_controller'] = 'index/home';含义就是执行index控制器中的home方法 参考代码/system/core/Router.php 中的_set_default_controller 方法
$route['default_controller'] = 'index/home'; this index is a folder and the home is a controller in it, but when I ran the code, the page showed "The page you requested was not found." why doesn't default_controller work?