[eluser]vincej[/eluser]
Hi - @wiredesignz, Forgive me I'm still a bit of a newb with some of this stuff, to be specific is the supplied code a solution to the problem, and if so, where should I put it ?
Many Thanks !! vincej
Code:
<?php
public function __autoload($class)
{
/* don't autoload CI_ prefixed classes or those using the config subclass_prefix */
if (strstr($class, 'CI_') OR strstr($class, config_item('subclass_prefix'))) return;
/* autoload core classes */
if(is_file($location = APPPATH.'core/'.$class.EXT))
{
include_once $location;
return;
}
/* autoload library classes */
if(is_file($location = APPPATH.'libraries/'.$class.EXT))
{
include_once $location;
return;
}
}
?>