From: Roland Häder Date: Tue, 8 Nov 2011 10:18:19 +0000 (+0000) Subject: Also this ... X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=commitdiff_plain;h=5131f810427c0d5f683f326f2becfb7208b245f9 Also this ... --- diff --git a/application/selector/data.php b/application/selector/data.php index aca64d9..3711c98 100644 --- a/application/selector/data.php +++ b/application/selector/data.php @@ -30,7 +30,7 @@ $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() ); diff --git a/application/selector/starter.php b/application/selector/starter.php index c0923bf..48141e8 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -24,7 +24,7 @@ // Is there an application helper instance? We need the method main() for // maining the application -$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getInstance'), array()); +$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'), array()); // Some sanity checks if ((empty($app)) || (is_null($app))) { diff --git a/application/ship-simu/data.php b/application/ship-simu/data.php index 86f6ab6..74530a0 100644 --- a/application/ship-simu/data.php +++ b/application/ship-simu/data.php @@ -38,7 +38,7 @@ $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() ); diff --git a/application/ship-simu/starter.php b/application/ship-simu/starter.php index 30280b5..4c59f6d 100644 --- a/application/ship-simu/starter.php +++ b/application/ship-simu/starter.php @@ -24,7 +24,7 @@ // Is there an application helper instance? We need the method main() for // maining the application -$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getInstance'), array()); +$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'), array()); // Some sanity checks if ((empty($app)) || (is_null($app))) {