I have an Admin module, located in modules / admin, and there is a default admin controller - modules / admin / controllers / admin .

Each site has its own unique controllers, and they must be located in the application / controllers / admin / controller_name folder.

And the HMVC shows 404 error if it does not find modules / admin / controller_name, i.e. if site.ru/admin/controller_name

How to implement it and is it even possible?

Codeigniter 3.0

  • Please refrain from creating such a label as "3.0" in the future. If there is a desire to add "Codeigniter 3.0" to the tags - write through a hyphen: "codeigniter-3.0". And then you got two separate tags ... - Pavel Mayorov

1 answer 1

In codeigniter, links to functions in the controller are implemented at site.ru/index.php/controller/func , unless of course you have changed .haccess