Welcome Guest, Not a member yet? Register   Sign In
HMVC: problem when controller extends from MX_Controller
#1

[eluser]Unknown[/eluser]
Hello,

The problem is when my controller extends from 'MX_Controller', php thows an error message like ' Fatal error: Cannot redeclare class CI in application\third_party\MX\Base.php on line 83'

My code is :
Code:
class Javascript extends MX_Controller {

    function javascript()
    {
        parent::__construct();
    }

    function index()
    {
    }

    function add() {

    }


    function _remap() {

    }
}

But, my code's working when the controller extends only from Controller.

Why?

Patrice


Messages In This Thread
HMVC: problem when controller extends from MX_Controller - by El Forum - 12-20-2010, 04:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB