(no commit message)
[shipsimu.git] / application / selector / init.php
1 <?php
2 // Application initializer
3 //
4 // Please remember that this include file is being loaded *before* the class
5 // loader is loading classes from "exceptions", "interfaces" and "main"!
6 //
7 // Get an instance of the initializer
8 $eval = sprintf("\$app = %s::getInstance();",
9         FrameworkConfiguration::getInstance()->readConfig("app_helper_class")
10 );
11 eval($eval);
12
13 // Set application name and version
14 $app->setAppName("Applikationsausw&auml;hler");
15 $app->setAppVersion("0.1a");
16 $app->setAppShortName(FrameworkConfiguration::getInstance()->readConfig("selector_name"));
17
18 // Initialize output system
19 require(PATH . "inc/output.php");
20
21 // Initialize file i/o system
22 require(PATH . "inc/file_io.php");
23
24 // Include the language sub-system
25 require(PATH . "inc/language.php");
26
27 // [EOF]
28 ?>