Hello everyone,

I have a question concerning routes:
Is it possible to set up a route that looks for the ":controller" in a subdirectory (/admin/:controller/:action) of the controllers?

By example:
http://example.org/admin/controller/action,
would resolve "/path/to/application/controllers/admin/controller.php" and execute controller::action

I know that ZFW can work out of a subdirectory... but this is sort of a different situation, as I want both the root "/" and "/admin/" working off the same copy of ZFW.

Kind regards,
Peter Pistorius

Reply via email to