Welcome Guest, Not a member yet? Register   Sign In
Clarification about MY_Controller and relative inheritances
#3

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.
Reply


Messages In This Thread
RE: Clarification about MY_Controller and relative inheritances - by Diederik - 04-17-2017, 02:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB