[eluser]Akinzekeel[/eluser]
I usually do it like this:
/application/core/MY_Controller.php
Code:
class MY_Controller extends CI_Controller {
public function __construct() {
parent::__construct();
// your stuff here...
}
// your "Master controller" functions go here...
}
Then in your actual controllers you code like this:
Code:
class some_controller extends MY_Controller {
public function __construct() {
parent::__construct();
// ...
}
// Your "Master controller" functions are usable within this class!
}