I created a project in CI and I'm going through the following problem: I split my controllers into two folders:
application/controllers/painel/
and
application/controllers/site/
In the subdirectory panel there is the home controller and the site as well.
I wanted to set the home control of the site subdirectory as the default controller. I tried doing this on the routes, putting:
$route['default_controller'] = 'site/home'
and also
$route['default_controller'] = 'site/index/home'
But it did not work, can anyone help me?