default_controller没法指定子文件夹中的文件?
1) 3.0版本2) 需要制定的controller路径:controllers/test/Test::index()
3) routes:
$route['(:any)'] = 'test/Test/index/$1';
$route['default_controller'] = 'test/Test/index';
4) 访问地址:
http://www.citest.com/index.php/something —— ok
http://www.citest.com/index.php/ —— 404
问题:请问如何指定子文件夹中的controller为默认?
谢谢!
請參閱 CI 社區 - 關於 3.0 的預設路由 按此更新后成功,3ks!
页:
[1]