| 
<?php         
function Autoloadit_fromSrc_withNS($class){
 $file=str_replace("\\","/",$class);
 $path=str_replace("\\","/",dirname(__FILE__))."/src/$file.php";
 if(file_exists($path)){
 if(require($path)) return true;
 else return false;
 }else{
 return false;
 }
 }
 
 spl_autoload_register ("Autoloadit_fromSrc_withNS");
 ?>
 |