I'd like to extend CI_Controller
further, but within the controllers folder.
I already have a subclass MY_Controller
in application/core/MY_Controller.php, and I know already I can add new subclasses of MY_Controller
in the same file.
My question is, how to extend MY_Controller
further by adding files in the controllers folder?
For example:
class Comm_Controller extends MY_Controller{}
class ServiceA_Controller extends MY_Controller{}
// or even
class ServiceAplus_Controller extends ServiceA_Controller{}
If I do not modify the autoload, it will report "class ServiceA_Controller not found", but I would prefer not to add any other file to the application/core/ folder.