]> git.mxchange.org Git - hub.git/blobdiff - application/hub/init.php
Space added
[hub.git] / application / hub / init.php
index f15325ae581e2d9dfa55659db7d9870d39b7cc62..d9db3d8632a4174604ef9786f79aa3f937cb283e 100644 (file)
@@ -15,7 +15,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -48,26 +48,8 @@ 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("MXChange Hub");
-$app->setAppVersion("0.0.0");
-$app->setAppShortName("mxhub");
-
 // Get's our IP address
 $_SERVER['SERVER_ADDR'] = ConsoleTools::aquireSelfIPAddress();
 
-// Set instances
-$app->setFileIoInstance($io);
-$app->setLanguageInstance($lang);
-$app->setDatabaseInstance($db);
-
 // [EOF]
-?>
\ No newline at end of file
+?>