Welcome Guest, Not a member yet? Register   Sign In
Stuck in a authorisation loop - Haughin's Twitter Library
#9

[eluser]joelg[/eluser]
Well, I just sussed it out.

I delved into the core Input library and found a difference in the variable name of the allow_get_array variable:

In the previous code suggested to get things working, we had as follows:

Code:
class MY_Input extends CI_Input {

    function _sanitize_globals()
    {
        $this->allow_get_array = TRUE;
        parent::_sanitize_globals();
    }
    
}

whereas with CodeIgniter 2.0 it seems that the variable is named $this->_allow_get_array (notice the extra underscore):

Code:
class MY_Input extends CI_Input {

    function _sanitize_globals()
    {
        $this->_allow_get_array = TRUE;
        parent::_sanitize_globals();
    }
    
}

That solved it for me.


Messages In This Thread
Stuck in a authorisation loop - Haughin's Twitter Library - by El Forum - 10-06-2010, 11:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB