X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/075bd42af8885aee3c18fe055a2c82b8b43f4cea..d1489df29cba94ddf3a9f6dc6a1f310033a90924:/SL/User.pm diff --git a/SL/User.pm b/SL/User.pm index 37a61c51f..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}), @@ -783,4 +783,3 @@ sub data { } 1; -