X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fdata.php;h=a2870c05c04f8d332721c409f2d85ed8222882b8;hb=e0f671bdb16ae5954d0b51efd46654ded904aa9a;hp=fba94cf90b80b354749c7d2fbae060087672af4c;hpb=df5b9f549c59c6772d77d68f01c72bbc90c422f0;p=hub.git diff --git a/application/hub/data.php b/application/hub/data.php index fba94cf90..a2870c05c 100644 --- a/application/hub/data.php +++ b/application/hub/data.php @@ -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 + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu 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 + * @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 @@ -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->readConfig('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] ?>