]> git.mxchange.org Git - shipsimu.git/commitdiff
If you have trouble with login turn off is_single_server, exception name added
authorRoland Häder <roland@mxchange.org>
Wed, 18 Jun 2008 15:24:57 +0000 (15:24 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 18 Jun 2008 15:24:57 +0000 (15:24 +0000)
application/selector/starter.php
application/ship-simu/starter.php
inc/config.php

index fcd9855cc5bdf85462c72b2c1360af6d1b213627..dd07fb6a53e3987893087c44c8405a4975e19236 100644 (file)
@@ -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 <strong>%s</strong> has been terminated due to a thrown exception: <strong>%s</strong>",
+       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <strong>%s</strong> has been terminated due to a thrown exception: <strong>%s - %s</strong>",
                $application,
+               $e->__toString(),
                $e->getMessage()
        ));
 }
index fcd9855cc5bdf85462c72b2c1360af6d1b213627..dd07fb6a53e3987893087c44c8405a4975e19236 100644 (file)
@@ -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 <strong>%s</strong> has been terminated due to a thrown exception: <strong>%s</strong>",
+       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <strong>%s</strong> has been terminated due to a thrown exception: <strong>%s - %s</strong>",
                $application,
+               $e->__toString(),
                $e->getMessage()
        ));
 }
index 5e611b4b3b820aac236ea702f64269cbaf1a1385..0c758005d9e6e53ef11361cda2459c94acb092a5 100644 (file)
@@ -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");