Loading own libraries - Problems

edited March 2013 in Modules
Hi all,

I have created a class and placed it in its own file with the name of the class as the filename. I have then placed the file in the application/libraries folder and tried to call it from a model.. I thought that might be a problem so I moved it to the controller and I still get the same problem.

$this->load->library('Mrtk');

This code creates the following error.

Message: Undefined index: Mrtk

Filename: fuel/Loader.php

So what am I doing wrong?

Comments

Sign In or Register to comment.