(07-01-2016, 09:20 PM)titounnes Wrote: (07-01-2016, 02:12 PM)arma7x Wrote: Why not put "MY_Controller" inside libraries folder and add namespace App\Libraries in "MY_Controller" then extend it to \CodeIgniter\Controller. Now to use it, extends all controller in controller folder to \App\Libraries\MY_Controller.
i'm not sure, put My_Controller in libraries is good idea. Base controller is not a library.
You can put your own "MY_Controller" in any folder/create new one inside application folder as long as you give namespace to where it located.
KeepĀ calm.