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

[eluser]CMCDragonkai[/eluser]
If I try this MY_Security.php

Code:
$this->_CI =& get_instance();

It results in Fatal error: Class 'CI_Controller' not found in C:\...\system\core\CodeIgniter.php on line 210

According to this: http://ellislab.com/forums/viewthread/173303/#825774

My problem might be that the instance is not created when security.php is called.

Is there a workaround to this? I want to use the CI superobject and load a custom library into security.php.


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