Welcome Guest, Not a member yet? Register   Sign In
Array global between Controllers - Problem.
#5

[eluser]danmontgomery[/eluser]
Code:
function Acl() {
        $this->CI =& get_instance();        
    }

I'm kind of surprised this is working at all... You're extending the controller class, but overriding the constructor method. You need to add parent::__construct() to this method to call the controller construct


Messages In This Thread
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 01:22 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 01:35 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 01:46 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 02:44 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 02:59 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 03:11 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 03:26 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 03:30 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 03:34 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 04:03 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 04:21 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 04:27 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 04:34 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 04:43 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 05:05 PM
Array global between Controllers - Problem. - by El Forum - 05-03-2010, 10:30 PM
Array global between Controllers - Problem. - by El Forum - 05-04-2010, 06:42 AM
Array global between Controllers - Problem. - by El Forum - 05-04-2010, 08:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB