Codeigniter 3 + HMVC (sub-direcotry in modules) |
I use HMVC wiredesignz third party to use modular structure for Codeigniter.
I there a way to create a subfolder in the modules directory ? I want something : Code: modules Of course I've tried to call with : Code: base_url('admin/module2/index'); I've got a 404 error. Is this possible ? Thanks
Hello!
I solved! The link below has helped solve this problem. https://forum.codeigniter.com/thread-915...l#pid59163 The module name and controller name may be different. domain\module\controllers\method\param If the module name equal the controller name, it is enough the controller name. domain\controllers\method\param So directory structure: Code: modules
If you look at the documentation there is also a config item that can be added to the CodeIgniter configuration file.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |