X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fstarter.php;h=b1530f7841b998c53abe0df9e4e2688166f17414;hp=dab9479966f21162112209e748b68043a6127249;hb=f8aefcf067a68005d6aea9bb636a62ddc3359546;hpb=2e472bcbab0c23f070d39cfc66bef639706f0868 diff --git a/application/ship-simu/starter.php b/application/ship-simu/starter.php index dab9479..b1530f7 100644 --- a/application/ship-simu/starter.php +++ b/application/ship-simu/starter.php @@ -4,9 +4,9 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.ship-simu.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 @@ -46,17 +46,8 @@ if ((empty($app)) || (is_null($app))) { )); } -// Call the entry point method -try { - // Call user function - call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array()); -} catch (FrameworkException $e) { - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s could not be launched for the follwing reason: %s", - $application, - $e->getMessage() - )); -} - +// Call user function +call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array()); // [EOF] ?>