X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fstarter.php;h=e5ea218bc3e36a250ddf49fd87df04cb3c67bae2;hb=e42e5cccbe065c9f54478350c9b96f408c648a9e;hp=39633a9fad4a7689c0300535fa26b5c2e7d2de81;hpb=08c68734fbfae295f3b037529bdc9e57003464e4;p=hub.git diff --git a/application/hub/starter.php b/application/hub/starter.php index 39633a9fa..e5ea218bc 100644 --- a/application/hub/starter.php +++ b/application/hub/starter.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 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 * @@ -26,7 +26,7 @@ // maining the application $app = call_user_func_array( array( - FrameworkConfiguration::getInstance()->getConfigEntry('app_helper_class'), 'getInstance' + FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance' ), array() ); @@ -35,23 +35,23 @@ if ((empty($app)) || (is_null($app))) { // Something went wrong! ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because the helper class %s is not loaded.", $application, - FrameworkConfiguration::getInstance()->getConfigEntry('app_helper_class') + FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class') )); } elseif (!is_object($app)) { // No object! ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because 'app' is not an object.", $application )); -} elseif (!method_exists($app, FrameworkConfiguration::getInstance()->getConfigEntry('entry_method'))) { +} elseif (!method_exists($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method'))) { // Method not found! ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because the method %s is missing.", $application, - FrameworkConfiguration::getInstance()->getConfigEntry('entry_method') + FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method') )); } // Call user function -call_user_func_array(array($app, FrameworkConfiguration::getInstance()->getConfigEntry('entry_method')), array()); +call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array()); // [EOF] ?>