Welcome Guest, Not a member yet? Register   Sign In
CI2 - Model class - isset() fails
#11

[eluser]Dan Horrigan[/eluser]
WanWizard,

If you are smart enough to write a module for a modular system, then you should be able to figure which class to check if it's loaded or not.

Not referring to you directly, just in general. Plus not having this saves memory and execution time by not having to reference the super global every time.

You could also simply include this in any models you need it in.

Dan




Theme © iAndrew 2016 - Forum software by © MyBB