// Load matching config
ClassLoader::getInstance()->loadExtraConfigs();
+// Register hooks here
+require(FrameworkConfiguration::getInstance()->readConfig('base_path') . 'inc/hooks.php');
+
// Does the user has an application specified?
if (!empty($_GET['app'])) {
// Set the application from string
// Set the application name for later usage
FrameworkConfiguration::getInstance()->setConfigEntry('app_name', $application);
-// Register auto-load function with the SPL
-spl_autoload_register('ClassLoader::autoLoad');
-
-/**
- * Is the devel package included?
- */
-if (is_dir(FrameworkConfiguration::getInstance()->readConfig('base_path') . "devel")) {
- /**
- * Load all development includes
- */
+// Is the devel package included?
+if (is_dir(FrameworkConfiguration::getInstance()->readConfig('base_path') . 'devel')) {
+ // Load all development includes
ClassLoader::getInstance()->scanClassPath('devel');
} // END - if