I am trying to extend a library in codeigniter. The only way to do so seems to include the original library using require_once then load the extended library us
require_once
Do you know that Codeigniter has a loader class?
change this
require_once('/home/SITE_NAME/public_html/FOLDER_NAME/application/libraries/ion_auth.php')
to
$this->load->library('ion_auth'); and be sure your libraries/ion_auth.php file it's a class named `class ion_auth{}`