Welcome Guest, Not a member yet? Register   Sign In
Side Effect of loading it twice?
#2

[eluser]PhilTem[/eluser]
You're effectively not loading it twice. You are in fact calling the load->library-method but that does not mean it gets loaded twice (if it was loaded twice it'd overwrite itself).
CI's business logic for loading files is: If you already loaded it we don't load it again:

Code:
if ($library === '' OR isset($this->_base_classes[$library]))
{
    return FALSE;
}

$this->_base_classes stores the name of every library loaded.


Messages In This Thread
Side Effect of loading it twice? - by El Forum - 10-26-2012, 03:47 AM
Side Effect of loading it twice? - by El Forum - 10-26-2012, 06:32 AM
Side Effect of loading it twice? - by El Forum - 10-26-2012, 08:41 AM
Side Effect of loading it twice? - by El Forum - 10-26-2012, 08:56 AM
Side Effect of loading it twice? - by El Forum - 10-26-2012, 09:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB