Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions -- MY_Controller within a module that extends MX_Controller
#1

[eluser]tomgkelly[/eluser]
If I create a MY_Controller that extends MX_Controller, where, in the module directory, should I put MY_Controller so that other controllers within the module can use it (i.e it will be auto-loaded). Or does it have to go into the'application/core' directory.

I'm a bit confused on this issue and I'm sure there's a simple answer.

If I have several modules and more than one of them creates a MY_Controller, it seems there may be a naming conflict if they must go into 'application/core', so I'm thinking that there must be another way .... can anybody shed some light on this for me.

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB