]> git.mxchange.org Git - hub.git/blobdiff - application/hub/data.php
In case of non-blocking connections (and that is for 99.9999% the case here)
[hub.git] / application / hub / data.php
index e469cca62216e84ecf82e982524e02e02e1a6d04..8ba4cff742a21a01827f95c2353f037065d85457 100644 (file)
@@ -5,19 +5,11 @@
  * Please remember that this include file is being loaded *before* the class
  * loader is loading classes from "exceptions", "interfaces" and "main"!
  *
- * You can prevent adding this application to the selector by uncommenting the
- * following line:
- *
- * if ((isset($this)) && (is_object($this)) && ($this->isClass("ApplicationSelector"))) { return; }
- *
- * isset() is required to prevent a warning and is_object() is highly required
- * when the application itself is requested in URL (hint: index.php?app=your_app)
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  */
 
 // Get config instance
-$cfg = FrameworkConfiguration::getInstance();
+$cfg = FrameworkConfiguration::getSelfInstance();
 
 // Get an instance of the helper
 $app = call_user_func_array(
-       array($cfg->getConfigEntry('app_helper_class'), 'getInstance'),
+       array($cfg->getConfigEntry('app_helper_class'), 'getSelfInstance'),
        array()
 );
 
 // Set application name and version
-$app->setAppName("Generic Object Sharing Hub");
-$app->setAppVersion("0.0.0");
-$app->setAppShortName("hub");
+$app->setAppName('Generic Object Sharing Hub');
+$app->setAppVersion('0.0.0');
+$app->setAppShortName('hub');
 
 // [EOF]
 ?>