]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Instance-Conf am Anfang jedes Requests laden
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 23 Jun 2014 15:12:22 +0000 (17:12 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 23 Jun 2014 15:20:15 +0000 (17:20 +0200)
SL/Dispatcher.pm
SL/Dispatcher/AuthHandler/User.pm

index 56791edd0f59b9f8a0ba37541acfc0020a86cf1d..7ce18a4765c3e41f080eb3cad02520371ab14cc7 100644 (file)
@@ -105,8 +105,6 @@ sub pre_request_initialization {
       die "cannot find locale for user " . $params{login} unless $::locale   = Locale->new($::myconfig{countrycode});
 
       $::form->{login} = $params{login}; # normaly implicit at login
-
-      $::instance_conf->init;
     }
   }
 
index 7b2a5eb660459354d7cc2fc7af852999536d8384..7a8fd1d75efbfdc309b328740e7edb530512d962 100644 (file)
@@ -29,6 +29,7 @@ sub handle {
 
   $::auth->create_or_refresh_session;
   $::auth->delete_session_value('FLASH');
+  $::instance_conf->reload->data;
 
   return 1;
 }