]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/starter.php
Interface for actions added (PerformableAction)
[shipsimu.git] / application / ship-simu / starter.php
index 4bcbd4ac5a3a36cd023ac87111b50fa029617844..738a628daf2dec2aa97fba9597a35327c90bd87f 100644 (file)
@@ -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 <strong>%s</strong> could not be launched for the follwing reason: <strong>%s</strong>",
-               $application,
-               $e->getMessage()
-       ));
-}
-
+// Call user function
+call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array());
 
 // [EOF]
 ?>