Hi,
In my program I'm having a problem. lol. I'm using autoload to load my objects but I'm getting a miscellaneous request for an object that doesn't exist. Of course the error that i get appears to be from the autoload function so i don't know where its coming from.
How can i tell where the autoload function is being called from?
I didn't write this program, its something they gave me to mod at work so I'm not 100% familiar with it.
However, its using the MVC design pattern. Autoload being in the controller, index.php
I don't know what other code to show you...
function __autoload($class)
{
$file = str_replace('_','/',substr($class,2)).'.php5';
require_once(FR_BASE_PATH.'/includes'.$file);
}