X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=application%2Fmailer%2Fstarter.php;h=c39a64858d8cc4687bef8f4d0ba77fa59f2a18d0;hp=0f231105e84dddaafee14429982dd52a10d75698;hb=bb5a41db7fe96b02ac42d14e70bef905dceeb31d;hpb=53433de1bc39f51d48970edd7fc5d305c1c5cd35 diff --git a/application/mailer/starter.php b/application/mailer/starter.php index 0f231105e8..c39a64858d 100644 --- a/application/mailer/starter.php +++ b/application/mailer/starter.php @@ -24,23 +24,23 @@ // Is there an application helper instance? We need the method main() for // maining the application -$app = call_user_func_array(array(FrameworkConfiguration::getSelfInstance()->getConfigEntry('app_helper_class'), 'getInstance'), array()); +$app = call_user_func_array(array(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') ));