How to ac开发者_如何学Pythoncess helpers/libraries in error pages of codeigniter ? For example error_general ?
Use this function:
$CI &= get_instance();
$CI->load->library('foo');
Thanks. This worked for me. However, the statement should actually say this,
$CI = & get_instance();
$CI->load->library('foo');
精彩评论