[eluser]A_funs[/eluser]
Hi,
So I am trying to use some external classes for my login system. The classes are in a directory off the root folder, not within the codeigniter application directory. Using the following code I get this message - the include resolves fine but for some reason the function won't run:
"Fatal error: Call to undefined function protect()"
Code:
include_once('xxxxx/check.class.php');
protect("1, 2, 3");
I have also tried instantiating the class in the included file
Code:
include_once('xxxxx/check.class.php');
$login = new Check();
This returns an error saying the class is not defined. Both the class and function are clearly defined in the included file...Thanks for your help