2 // Application initializer
4 // Please remember that this include file is being loaded *before* the class
5 // loader is loading classes from "exceptions", "interfaces" and "main"!
7 // Get an instance of the initializer
8 $eval = sprintf("\$app = %s::getInstance();",
9 FrameworkConfiguration::getInstance()->readConfig("app_helper_class")
13 // Set application name and version
14 $app->setAppName("MXChange Mailtausch-Skript");
15 $app->setAppVersion("0.3.0");
16 $app->setAppShortName(FrameworkConfiguration::getInstance()->readConfig("selector_name"));
18 // Initialize output system
19 require(PATH . "inc/output.php");
21 // Initialize file i/o system
22 require(PATH . "inc/file_io.php");
24 // Include the language sub-system
25 require(PATH . "inc/language.php");
27 // Get the database layer as well
28 require(PATH . "inc/database.php");