Welcome Guest, Not a member yet? Register   Sign In
how i can have a master Controller???I don't know
#2

Create a file called MY_Controller.php and put it in your application/core directory. Inside should be a class MY_Controller that extends CI_Controller. The class constructor should call parent::__construct();

Next, alter your controllers so they extend MY_Controller, not CI_Controller.

That's it.
Reply


Messages In This Thread
RE: how i can have a master Controller???I don't know - by skunkbad - 06-06-2016, 07:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB