Continued rewriting:
[core.git] / application / tests / starter.php
index 228e4f8c728216ba893fb83d07aa57b3f8c60247..b3f8d7d85f960a2199c779a0fced6360eb90d9dd 100644 (file)
@@ -1,10 +1,13 @@
 <?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 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -26,7 +29,7 @@
 // maining the application
 $app = call_user_func_array(
        array(
-               FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'
+               'CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'
        ), array()
 );
 
@@ -35,7 +38,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,
-               FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class')
+               'CoreFramework\Helper\Application\ApplicationHelper'
        ));
 } elseif (!is_object($app)) {
        // No object!