Code: Alles auswählen
case "classes":
if (cAutoload::isAutoloadable($cfg['path'][$where] . $what)) {
// The class file will be loaded automatically by the autoloader - get out here
return;
}
$sInclude = $backendPath . $cfg['path'][$where] . $what;
break;
In meinem konkreten Fall habe ich im Ordner classes einen eigenen Ordner myClasses liegen, ich will mit
Code: Alles auswählen
cinclude("classes", "myClasses/myNaviClass.php");