X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fshoutbox%2Finit.php;h=39c5bed007acfcb599fb0edf378e27f513a2df07;hp=117b295fa71168ce3e63d0621bdccc0ac3eaffe4;hb=21a25cc77b1108c7e33d4ce55b1a85970b355de2;hpb=70ccc7bcf88f399486308be6a34a0d0942e7e275 diff --git a/application/shoutbox/init.php b/application/shoutbox/init.php index 117b295..39c5bed 100644 --- a/application/shoutbox/init.php +++ b/application/shoutbox/init.php @@ -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] ?>