I'm working on a website using Phalcon PHP that has an admin section mywebsite.com/admin
I have created two different controller folders (frontend-controllers
& backend-controllers)
an depending on the URL, I'm loading the right folder.
I would like to add a prefix (admin
) to the all backend controllers.
mywebsite.com/admin/my-backend-controller-/myaction
instead of
mywebsite.com/my-backend-controller-/myaction
I would like to know if it's possible and how to do it.