]> git.mxchange.org Git - core.git/blobdiff - inc/includes.php
Menu blocks are now supported
[core.git] / inc / includes.php
index 29572e19ce1672faf6f7862d172f7fdf360a7ec9..f4088d9045e2593a8efd68a7f9eac83d889deff8 100644 (file)
@@ -33,6 +33,7 @@ ClassLoader::getInstance()->loadExtraConfigs();
 require(FrameworkConfiguration::getInstance()->getConfigEntry('base_path') . 'inc/hooks.php');
 
 // Does the user has an application specified?
+// @TODO Find a nicer OOP-ed way for this
 if (!empty($_GET['app'])) {
        // Set the application from string
        $application = (string) $_GET['app'];
@@ -61,11 +62,5 @@ $application = preg_replace('/([^a-z0-9_-])+/i', '', $application);
 // Set the application name for later usage
 FrameworkConfiguration::getInstance()->setConfigEntry('app_name', $application);
 
-// Is the devel package included?
-if (is_dir(FrameworkConfiguration::getInstance()->getConfigEntry('base_path') . 'devel')) {
-       // Load all development includes
-       ClassLoader::getInstance()->scanClassPath('devel');
-} // END - if
-
 // [EOF]
 ?>