Hi, I'd like to make the changes in some old applications that uses Zend_Loader::loadClass since the Zend_Loader will be deprecated in ZF 2.0. Those apps use classes that does not follow the standard of the _ -> dir mapping
The current code uses this
function __autoload($file)
{
if(ereg("_",$file) && !ereg("PEAR",$file))
{
Zend_Loader::loadClass($file);
}
else
{
include($GLOBALS["path"]."php/".$file.".inc") ;
}
}
Any suggestions? :)
