X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fselector%2Fstarter.php;h=64ac8075dc755f783b0751adfdee813d7d8d8209;hb=7a44bb20ca579fb79bba71d65f5f7a834665f80f;hp=dde690e85cea772656dbd443f3edcd612810461b;hpb=4a86a97464975305c05d2771abfe31586bc37055;p=shipsimu.git diff --git a/application/selector/starter.php b/application/selector/starter.php index dde690e..64ac807 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -47,18 +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) { - die($e->getMessage()); - 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] ?>