Skip to content
Advertisement

Tag: hmvc

How to load a controller from another controller in codeigniter?

I want to load a controller from a function in another controller because the library I integrated to my project I don’t want to load it to the controller because I want to keep it clean and related. I tried using modules but I still had to put controller in the url like http://example.com/maincontroller/function http://example.com/othercontroller/function I have default controller so

Advertisement