From: Roland Häder Date: Wed, 18 Jun 2008 15:24:57 +0000 (+0000) Subject: If you have trouble with login turn off is_single_server, exception name added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ccf0a6ac2e9ce6d660cbdf66c4c9c4a10f7a1345;p=shipsimu.git If you have trouble with login turn off is_single_server, exception name added --- diff --git a/application/selector/starter.php b/application/selector/starter.php index fcd9855..dd07fb6 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -51,8 +51,9 @@ 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", + ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s - %s", $application, + $e->__toString(), $e->getMessage() )); } diff --git a/application/ship-simu/starter.php b/application/ship-simu/starter.php index fcd9855..dd07fb6 100644 --- a/application/ship-simu/starter.php +++ b/application/ship-simu/starter.php @@ -51,8 +51,9 @@ 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", + ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s - %s", $application, + $e->__toString(), $e->getMessage() )); } diff --git a/inc/config.php b/inc/config.php index 5e611b4..0c75800 100644 --- a/inc/config.php +++ b/inc/config.php @@ -222,7 +222,7 @@ $cfg->setConfigEntry('rnd_str_length', 128); $cfg->setConfigEntry('hash_mask', "%1s:%2s:%3s"); // 1=salt, 2=extra salt, 3=plain password // CFG: IS-SINGLE-SERVER -$cfg->setConfigEntry('is_single_server', "N"); +$cfg->setConfigEntry('is_single_server', "Y"); // CFG: POST-REGISTRATION-ACTION $cfg->setConfigEntry('post_registration_class', "LoginAfterRegistrationAction");