Clarification about MY_Controller and relative inheritances |
You need a way to load your frontend and backend controller. I still rely on this old link by Phil Sturgeon to add some code to the config.php fle which autoloads your files.
https://philsturgeon.uk/codeigniter/2010...ng-it-DRY/ Or you could put both classes inside the regular MY_controller file. Personally I'm not a big fan of creating a single file with multiple porposes. |
Welcome Guest, Not a member yet? Register Sign In |