标签: routes codeigniter-2
在我的routes.php中,我有$routes['default_controller'] = "MainController",但除非我在浏览器中导航到/ MainController,否则这似乎不起作用。我错过了什么?是否应该设置除此之外的其他内容?
$routes['default_controller'] = "MainController"
答案 0 :(得分:0)
试
$routes['default_controller'] = "maincontroller";