Location: PHPKode > scripts > QBaseClass > config.inc.php
<?php

define("DS", DIRECTORY_SEPARATOR);

include_once(dirname(__FILE__).DS."core".DS."QConfig.class.php");

QConfig::set("root", dirname(__FILE__));
QConfig::set("classes", QConfig::get('root').DS."core");

function __autoload($className){
	$check=false;

	$strClassFileName = $className.'.class.php';
	if(is_file(QConfig::get('classes').DS.$strClassFileName)){
		$check=true;
		$path = QConfig::get('classes').DS.$strClassFileName;
	}

	if($check){
		include_once($path);
	}
}

Return current item: QBaseClass