X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Ftask_server.pl;h=ff21183da57b1a362de2b26ea7cfe44da3a855b4;hb=6d5743899631690b4a82190a977a075c66eb4a0d;hp=f3422d62df31169159dfe8a98db9e4cf9e9b776c;hpb=d7fddb8d59bdcb8ec6bb31572d392fa29a858947;p=kivitendo-erp.git diff --git a/scripts/task_server.pl b/scripts/task_server.pl index f3422d62d..ff21183da 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -76,7 +76,7 @@ sub lxinit { } sub per_job_initialization { - $::locale = Locale->new($::lx_office_conf{system}->{language}); + $::locale = Locale->new($::myconfig{countrycode} || $::lx_office_conf{system}->{language}); $::form = Form->new; $::instance_conf = SL::InstanceConfiguration->new; $::request = SL::Request->new( @@ -86,8 +86,9 @@ sub per_job_initialization { $::auth->restore_session; - $::form->{login} = $lx_office_conf{task_server}->{login}; $::instance_conf->init; + + $::form->{__ERROR_HANDLER} = sub { die @_ }; } sub drop_privileges { @@ -223,6 +224,17 @@ sub gd_run { } } +sub end_of_request { + $main::lxdebug->show_backtrace(); + die <