Welcome Guest, Not a member yet? Register   Sign In
Class not found
#5

[eluser]drewbee[/eluser]
You almost have it. Custom libraries are automatically extended from the core libraries.

In this case you are trying to extend the default controller, so you would need:

Code:
MY_Controller extends CI_Controller
{

}

Which, I do not think this is what you are trying to go for. It looks like you have a library you want to run:

/system/application/libraries/Auth.php
Code:
Auth extends Controller
{

}

Now, in our controller:

Code:
$this->load->library('auth');


Messages In This Thread
Class not found - by El Forum - 09-02-2008, 04:25 PM
Class not found - by El Forum - 09-03-2008, 03:15 AM
Class not found - by El Forum - 09-03-2008, 03:57 AM
Class not found - by El Forum - 09-03-2008, 09:55 AM
Class not found - by El Forum - 09-03-2008, 11:16 AM
Class not found - by El Forum - 09-03-2008, 12:45 PM
Class not found - by El Forum - 09-03-2008, 01:19 PM
Class not found - by El Forum - 09-03-2008, 03:33 PM
Class not found - by El Forum - 09-03-2008, 04:17 PM
Class not found - by El Forum - 09-03-2008, 05:04 PM
Class not found - by El Forum - 09-03-2008, 07:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB