Welcome Guest, Not a member yet? Register   Sign In
loading of custom Controller
#1

[eluser]Unknown[/eluser]
Hi guys,

I'm trying to do a custom controller.

Here's what I have:
app/config/autoload.php => $autoload['libraries'] = array('backend');
app/libraries/backend.php => class Backend extends Controller ...

and I got the following error:
Fatal error: Class 'Backend' not found in

It seems that my new library is not autoloaded. Is it possible or the problem is somewhere else?




Theme © iAndrew 2016 - Forum software by © MyBB