<?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 - 2014 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
*
// maining the application
$app = call_user_func_array(
array(
- FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance'
+ 'CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'
), array()
);
// 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!