X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fstarter.php;h=6abc2e6168124c0950cba17e15562ecf3499cc06;hb=f3400989268a1994de44909e5d968cabf72de5b1;hp=3c9768e0ee6287ecf5524bc509109e267cf0a700;hpb=7ac4616f58212066f939b82c204b3eb3e3433fbe;p=hub.git diff --git a/application/hub/starter.php b/application/hub/starter.php index 3c9768e0e..6abc2e616 100644 --- a/application/hub/starter.php +++ b/application/hub/starter.php @@ -2,11 +2,11 @@ /** * The application launcher * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,25 +26,25 @@ // maining the application $app = call_user_func_array( array( - FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getInstance' + FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getSelfInstance' ), array() ); // Some sanity checks if ((empty($app)) || (is_null($app))) { // Something went wrong! - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because the helper class %s is not loaded.", + ApplicationEntryPoint::app_exit(sprintf('[Main:] The application %s could not be launched because the helper class %s is not loaded.', $application, FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class') )); } elseif (!is_object($app)) { // No object! - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because 'app' is not an object.", + ApplicationEntryPoint::app_exit(sprintf('[Main:] The application %s could not be launched because 'app' is not an object.', $application )); } elseif (!method_exists($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method'))) { // Method not found! - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched because the method %s is missing.", + ApplicationEntryPoint::app_exit(sprintf('[Main:] The application %s could not be launched because the method %s is missing.', $application, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method') ));