X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/76b009b0edf5b696cbbf34d1fd1a245843a12e2e..52cd76db42d6df8a1eadf15b7bc126cdcc1544af:/SL/User.pm diff --git a/SL/User.pm b/SL/User.pm index 5e4d667a8..44cd34ab7 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -145,7 +145,12 @@ sub login { } # update the tables - open(FH, ">$main::userspath/nologin") or die("$!"); + if (!open(FH, ">$main::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.', + $main::userspath), + 'back_button' => 1); + } # required for Oracle $form->{dbdefault} = $sid;