X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fdata.php;h=a2870c05c04f8d332721c409f2d85ed8222882b8;hb=e0f671bdb16ae5954d0b51efd46654ded904aa9a;hp=be91c665945a52c96aa962c0f8f5af2e4271230c;hpb=1212b8422d9040c36c355c2c81c689dda7fd79ad;p=hub.git diff --git a/application/hub/data.php b/application/hub/data.php index be91c6659..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 - 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 + * @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->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] ?>