[eluser]Infinitum[/eluser]
[quote author="satie" date="1402239002"]Hello, after CI 2.2.0 uploaded I have a problem with session.
This method doesn't work anymore (I have a class in libraries folder):
...
In my construct method I have:
Code:
public function __construct() {
$this->CI = get_instance();
}
CheckLogin fails: $this->CI->session->userdata('id_login') is not set.
If I rollback previous version all works fine
[/quote]
Maybe you forget &
Code:
public function __construct() {
$this->CI =& get_instance();
}