I’m sure I’ve got something wrong, but I’ve been through the documentation and examples and I’m just not seeing it. I’m using CI 2.1.0 & the latest HMVC.
I am getting the following error: Fatal error: Cannot redeclare class CI in ../application/third_party/MX/Base.php on line 57
Here is the call:
modules::run("entries/controllers/entries/get_entry",$params);
And here is the controller:
class Entries extends MX_Controller {
function __construct()
{
parent::__construct();
}
public function get_entry($params)
{
print_r($params);
}
See anything wrong?
The controller is in a module, the call is coming from an outside library. Could that be the culprit? I have the same issues when using $this->load->module (or $this->CI->load->module() ).
Thanks,
Scott