Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / loader.php
index e18c749..b608720 100644 (file)
 $cfg = FrameworkConfiguration::getInstance();
 
 // Load all classes for the application
-foreach ($lowerClasses as $class) {
+foreach ($lowerClasses as $className) {
        // Load the application classes
-       ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/%s", $cfg->readConfig('application_path'), $cfg->readConfig('app_name'), $class));
+       ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/%s", $cfg->readConfig('application_path'), $cfg->readConfig('app_name'), $className));
 } // END - if
 
 // Clean up the global namespace
 unset($lowerClasses);
-unset($class);
+unset($className);
 
 // [EOF]
 ?>