// Set the application name for later usage
FrameworkConfiguration::getInstance()->setConfigEntry('app_name', $application);
-/**
- * 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
// Cache base path/file here
$basePathFile = FrameworkConfiguration::getInstance()->readConfig('application_path') . FrameworkConfiguration::getInstance()->readConfig('app_name');
+// Is the directory there?
+if (!is_dir($basePathFile)) {
+ // Not found.
+ trigger_error('Application ' . FrameworkConfiguration::getInstance()->readConfig('app_name') . ' not found.');
+} // END - if
+
// Load them all (try only)
foreach ($configAppIncludes as $appInc) {
// Skip starter in test mode