X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=application%2Fhub%2Fdata.php;h=031d963eb9751c9d7bebce3bf9d11b099ad52ac7;hb=a1cf52535b79c11339d84b3cfb9df72eaaa47d3e;hp=be91c665945a52c96aa962c0f8f5af2e4271230c;hpb=1212b8422d9040c36c355c2c81c689dda7fd79ad;p=hub.git diff --git a/application/hub/data.php b/application/hub/data.php index be91c6659..031d963eb 100644 --- a/application/hub/data.php +++ b/application/hub/data.php @@ -5,17 +5,9 @@ * 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 * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -34,18 +26,18 @@ */ // 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] ?>