How to force a default controller located in a subdirectory of /controllers |
[eluser]luismartin[/eluser]
I've arranged the controllers of a website so that I have both frontend and backend separated, this way: /controllers/frontend-controllers /controllers/admin/backend-controllers 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: http://www.domain.com/admin/index If I obviate index http://www.domain.com/admin the application displays the frontend while keeping the URL. What should I do to display the admin/index controller instead? |
Welcome Guest, Not a member yet? Register Sign In |