X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Floader.php;h=d28600b837e069b16a7f0694c3e898acb8d43bc5;hp=fca1551b308611cc2d445c664b7b4c5f50044b97;hb=4f70843ae8428f051d70ccff5bb43fc4c03dda8d;hpb=7cdeddaeac97fca7b039d527e8145c3c9e5e4117 diff --git a/application/ship-simu/loader.php b/application/ship-simu/loader.php index fca1551..d28600b 100644 --- a/application/ship-simu/loader.php +++ b/application/ship-simu/loader.php @@ -2,11 +2,11 @@ /** * A specialized class loader for this class * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,12 +23,12 @@ */ // Get config instance -$cfg = FrameworkConfiguration::getInstance(); +$cfg = FrameworkConfiguration::getSelfInstance(); // Load all classes for the application foreach ($lowerClasses as $className) { // Load the application classes - ClassLoader::getInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->readConfig('application_path'), $cfg->readConfig('app_name'), $className)); + ClassLoader::getSelfInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $className)); } // END - if // Clean up the global namespace