Welcome Guest, Not a member yet? Register   Sign In
Can't use $CI superobject in security class.
#4

[eluser]Jelmer[/eluser]
The Security class is loaded by the Input class which is initialized before the Controller is loaded. The CI superobject is the controller and as such the superobject only comes into existance after the Security class was loaded.

To load a class anyway use either load_class() or just plain PHP include if you don't need it referenced on the CI superobject once that's created.


Messages In This Thread
Can't use $CI superobject in security class. - by El Forum - 02-09-2011, 09:56 PM
Can't use $CI superobject in security class. - by El Forum - 02-11-2011, 05:22 AM
Can't use $CI superobject in security class. - by El Forum - 02-11-2011, 05:30 AM
Can't use $CI superobject in security class. - by El Forum - 02-11-2011, 07:35 AM
Can't use $CI superobject in security class. - by El Forum - 02-11-2011, 07:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB