X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Ftests%2Fstarter.php;h=a588ec9cab32ea39981ca98a7ebd7b7db03cbe06;hb=513812814a5a17022d414727e5a4c6d0823fe5f6;hp=b3f8d7d85f960a2199c779a0fced6360eb90d9dd;hpb=c62a0884fc9334024a771f706ee89cd6321868c4;p=core.git
diff --git a/application/tests/starter.php b/application/tests/starter.php
index b3f8d7d8..a588ec9c 100644
--- a/application/tests/starter.php
+++ b/application/tests/starter.php
@@ -1,13 +1,10 @@
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
@@ -29,7 +26,7 @@ use CoreFramework\Configuration\FrameworkConfiguration;
// maining the application
$app = call_user_func_array(
array(
- 'CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'
+ FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'
), array()
);
@@ -38,7 +35,7 @@ if ((empty($app)) || (is_null($app))) {
// Something went wrong!
ApplicationEntryPoint::app_exit(sprintf("[Main:] The application %s could not be launched because the helper class %s is not loaded.",
$application,
- 'CoreFramework\Helper\Application\ApplicationHelper'
+ FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class')
));
} elseif (!is_object($app)) {
// No object!
@@ -55,6 +52,3 @@ if ((empty($app)) || (is_null($app))) {
// Call user function
call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
-
-// [EOF]
-?>