]> git.mxchange.org Git - core.git/commitdiff
Problem with additional config files fixed
authorRoland Häder <roland@mxchange.org>
Thu, 20 Nov 2008 03:38:09 +0000 (03:38 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Nov 2008 03:38:09 +0000 (03:38 +0000)
inc/includes.php

index 7e3f5c9ffc6bf37b059d87261772ff30b4e29bc6..2cf6aaafb399db9e3524e4be652ce03b99bcead6 100644 (file)
@@ -28,6 +28,10 @@ $cfg = FrameworkConfiguration::getInstance();
 // Include the class loader function
 require(sprintf("%sinc/loader/class_ClassLoader.php", $cfg->readConfig('base_path')));
 
+// Shall we include additional configs where you can configure some things? Then
+// Load matching config
+ClassLoader::getInstance()->loadExtraConfigs();
+
 // Does the user has an application specified?
 if (!empty($_GET['app'])) {
        // Set the application from string
@@ -78,9 +82,5 @@ if (is_dir(sprintf("%sdevel", $cfg->readConfig('base_path')))) {
        ClassLoader::getInstance()->loadClasses('devel');
 }
 
-// Shall we include additional configs where you can configure some things? Then
-// Load matching config
-ClassLoader::getInstance()->loadExtraConfigs();
-
 // [EOF]
 ?>