Welcome Guest, Not a member yet? Register   Sign In
How to force a default controller located in a subdirectory of /controllers

I've arranged the controllers of a website so that I have both frontend and backend separated, this way:


There is no problem with the frontend since it is the normal behaviour in CI. But regarding the backend, I have to specify the default controller, which is index, like this:


If I obviate index


the application displays the frontend while keeping the URL.

What should I do to display the admin/index controller instead?

Theme © iAndrew 2016 - Forum software by © MyBB