Application init phase rewritten, data.php now sets app data
[shipsimu.git] / application / shoutbox / init.php
index 117b295fa71168ce3e63d0621bdccc0ac3eaffe4..39c5bed007acfcb599fb0edf378e27f513a2df07 100644 (file)
@@ -49,23 +49,5 @@ require($cfg->readConfig('base_path') . 'inc/language.php');
 // the inc/database.php script
 require($cfg->readConfig('base_path') . 'inc/database.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("Nameless Blogging Software");
-$app->setAppVersion("0.0.0");
-$app->setAppShortName("shoutbox");
-
-// Set instances
-$app->setFileIoInstance($io);
-$app->setLanguageInstance($lang);
-$app->setDatabaseInstance($db);
-
 // [EOF]
 ?>