Welcome Guest, Not a member yet? Register   Sign In
HMVC - Extend MX_Controller gives me an error, CI_Controller do not!?
#2

[eluser]PhilTem[/eluser]
If you just want to have modular separation, you are fine with extending CI_Controller. If you want to call other modules' controllers from within your current controller, both controllers need to extend MX_Controller.

If you get an error extending MX_Controller make sure you are including the MX_Controller file:
Code:
include(APPPATH . 'third_party/MX/Controller.php');


Messages In This Thread
HMVC - Extend MX_Controller gives me an error, CI_Controller do not!? - by El Forum - 10-14-2012, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB