Welcome Guest, Not a member yet? Register   Sign In
How to use MY_controller with ci 2.0
#4

[eluser]cideveloper[/eluser]
According to the code you showed, you are missing a line in your MY_Controller

Code:
class  MY_Controller extends CI_Controller{
    function __construct(){
        parent::__construct(); // This line needs to be there
    }
}


Messages In This Thread
How to use MY_controller with ci 2.0 - by El Forum - 02-06-2011, 12:07 PM
How to use MY_controller with ci 2.0 - by El Forum - 02-06-2011, 12:59 PM
How to use MY_controller with ci 2.0 - by El Forum - 02-06-2011, 01:03 PM
How to use MY_controller with ci 2.0 - by El Forum - 02-06-2011, 10:39 PM
How to use MY_controller with ci 2.0 - by El Forum - 02-07-2011, 01:54 AM
How to use MY_controller with ci 2.0 - by El Forum - 02-16-2011, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB