X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fselector%2Fstarter.php;h=706684cafc3410bedd787b329a6114aa33f84ebe;hp=7fd2509c381aea8e170a2f1c11190687717b56d0;hb=2b7c3e43b2fe0f3c5ae0455d13fa7743b638049f;hpb=4b5f501d3ef327cf8b848a43d3af3643e22ea356 diff --git a/application/selector/starter.php b/application/selector/starter.php index 7fd2509..706684c 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -4,7 +4,7 @@ * * @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, 2009 Ship-Simu Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -47,17 +47,7 @@ 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 has been terminated due to a thrown exception: %s - %s", - $application, - $e->__toString(), - $e->getMessage() - )); -} - +call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array()); // [EOF] ?>