Initial import of current development status
[shipsimu.git] / ship-simu / application / selector / loader.php
1 <?php
2 // The application's class loader
3 if (!isset($application)) {
4         // We need this!
5         ApplicationEntryPoint::app_die("[Main:] Interne Variable <strong>application</strong> nicht gefunden!");
6 }
7
8 // Load all classes
9 ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", FrameworkConfiguration::getInstance()->readConfig("application_path"), $application));
10
11 // Include all classes
12 ClassLoader::getInstance()->includeAllClasses();
13
14 // Clean up the global namespace
15 unset($lowerClasses);
16 unset($class);
17
18 // [EOF]
19 ?>