X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FUser.pm;h=368a0a278ef869b75fc6f999c5bb1db64ab48742;hb=dd6282f6e20d531511ae35cadc491a8c7ab8bad5;hp=5255c8eeebc28ac5acee2271156a34de4113732e;hpb=0f179c9ab60ac22c697027cadc9f4bdb9c515ce5;p=kivitendo-erp.git diff --git a/SL/User.pm b/SL/User.pm index 5255c8eee..368a0a278 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -149,7 +149,7 @@ sub login { } # update the tables - if (!open(FH, ">", $::lx_office_conf{paths}->{userspath} . "/nologin")) { + if (!$::lx_office_conf{debug}->{keep_installation_unlocked} && !open(FH, ">", $::lx_office_conf{paths}->{userspath} . "/nologin")) { $form->show_generic_error($main::locale->text('A temporary file could not be created. ' . 'Please verify that the directory "#1" is writeable by the webserver.', $::lx_office_conf{paths}->{userspath}), @@ -172,13 +172,7 @@ sub login { # remove lock file unlink($::lx_office_conf{paths}->{userspath} . "/nologin"); - my $menufile = - $self->{"menustyle"} eq "v3" ? "menuv3.pl" : - $self->{"menustyle"} eq "neu" ? "menunew.pl" : - $self->{"menustyle"} eq "js" ? "menujs.pl" : - "menu.pl"; - - print $form->parse_html_template("dbupgrade/footer", { "menufile" => $menufile }); + print $form->parse_html_template("dbupgrade/footer"); $rc = -2; } @@ -789,4 +783,3 @@ sub data { } 1; -