...
$CI is added as a default class variable to libraries loaded by ME. ($CI =& get_instance() is not required), Simply use $this->CI->whatever() in your library.
any suggestion? thanks
Yes adding the $CI library variable was deprecated in ME 5.2
get_instance() returns the application object in ME5.2 and gives access to all loaded objects libraries and models etc, it does not give access to the controller.
If a library requires access to a controller I suggest you pass the object to it.
