From: Roland Häder Date: Thu, 20 Nov 2008 03:38:09 +0000 (+0000) Subject: Problem with additional config files fixed X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=873cb0786816e43efdd88d6b97718bde756b727a;ds=sidebyside Problem with additional config files fixed --- diff --git a/inc/includes.php b/inc/includes.php index 7e3f5c9f..2cf6aaaf 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -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] ?>