Application init phase rewritten, data.php now sets app data
[shipsimu.git] / application / selector / init.php
index 71893f0d51b84dcae7c86ed88e2cf9ff36a68f2f..3b9e2db0a998a4b847a9d69f6aafd8845bbe6b27 100644 (file)
@@ -37,22 +37,5 @@ require($cfg->readConfig('base_path') . 'inc/file_io.php');
 // Include the language sub-system
 require($cfg->readConfig('base_path') . 'inc/language.php');
 
-// Generate call-back function
-$callback = sprintf("%s::getInstance",
-       FrameworkConfiguration::getInstance()->readConfig('app_helper_class')
-);
-
-// Get an instance of the helper
-$app = call_user_func_array($callback, array());
-
-// Set application name and version
-$app->setAppName("Applikationsauswähler");
-$app->setAppVersion("0.1a");
-$app->setAppShortName(FrameworkConfiguration::getInstance()->readConfig('selector_name'));
-
-// Set instances
-$app->setFileIoInstance($io);
-$app->setLanguageInstance($lang);
-
 // [EOF]
 ?>