]> git.mxchange.org Git - core.git/blobdiff - application/tests/starter.php
Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / application / tests / starter.php
index 377f446241dec0bae7abc0d9214f986ccabc7763..9898ac368ef8427710879f716dde9eb034b716a6 100644 (file)
@@ -1,13 +1,10 @@
 <?php
-// Import framework stuff
-use CoreFramework\Configuration\FrameworkConfiguration;
-
 /**
  * The application launcher
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 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 <span class=\"app_name\">%s</span> could not be launched because the helper class <span class=\"class_name\">%s</span> is not loaded.",
                $application,
-               'CoreFramework\Helper\Application\ApplicationHelper'
+               FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class')
        ));
 } elseif (!is_object($app)) {
        // No object!