-$cfg->setConfigEntry('app_name', $application);
-
-/**
- * Autoload-function
- *
- * @param $className Name of the class to load
- * @return void
- */
-function __autoload ($className) {
- // Try to include this class
- ClassLoader::getInstance()->includeClass($className);
-}
-
-/**
- * Is the devel package included?
- */
-if (is_dir(sprintf("%sdevel", $cfg->readConfig('base_path')))) {
- /**
- * Load all development includes
- */
- ClassLoader::getInstance()->loadClasses('devel');
-}