X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f825091992391175a3b30072fc86e035cd28c41d..891411c15c60f4099e7d2f687de8efe84b2e0fbb:/SL/Dispatcher.pm diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 0071e8137..03f1c5776 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -23,6 +23,7 @@ use SL::Locale; use SL::Common; use SL::Form; use SL::Helper::DateTime; +use SL::InstanceConfiguration; use SL::Template::Plugin::HTMLFixes; # Trailing new line is added so that Perl will not add the line @@ -172,6 +173,7 @@ sub handle_request { $::locale = Locale->new($::lx_office_conf{system}->{language}); $::form = Form->new; %::called_subs = (); + $::instance_conf = SL::InstanceConfiguration->new; my $session_result = $::auth->restore_session; $::auth->create_or_refresh_session; @@ -219,6 +221,8 @@ sub handle_request { delete $::form->{password}; if ($action) { + $::instance_conf->init; + map { $::form->{$_} = $::myconfig{$_} } qw(stylesheet charset) unless $action eq 'save' && $::form->{type} eq 'preferences';