]> git.mxchange.org Git - shipsimu.git/blobdiff - application/selector/loader.php
svn:eol-style set to 'native' also for Doxyfile ... :/
[shipsimu.git] / application / selector / loader.php
index bb5c293227b7984e67ec27ca37062783d0bcaa59..a6b49bbfe180f51b9669d82d0937080b0418e956 100644 (file)
@@ -3,7 +3,7 @@
  * The application's class loader
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @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
  *
@@ -25,7 +25,7 @@
 $cfg = FrameworkConfiguration::getInstance();
 
 // Load all classes
-ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", $cfg->readConfig('application_path'), $cfg->readConfig('app_name')));
+ClassLoader::getInstance()->scanClassPath(sprintf("%s/%s/", $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name')));
 
 // Clean up the global namespace
 unset($lowerClasses);