diff -U 2 -r /root/src/webmin/vacationadm/index.cgi /usr/libexec/webmin/vacationadm/index.cgi --- /root/src/webmin/vacationadm/index.cgi Wed Dec 19 18:20:30 2001 +++ /usr/libexec/webmin/vacationadm/index.cgi Wed Dec 19 19:19:40 2001 @@ -27,6 +27,5 @@ # get some configuration options -do '../web-lib.pl'; -&init_config(); +require './local-lib.pl'; # force a fflush after each print/write command @@ -61,4 +60,9 @@ # Seems there are no errors, let's go on... # +my $user=$ENV{REMOTE_USER}; +# Get the users home directory +my $home=&get_home($user); +my $vacmsgfile="$home/.vacation.msg"; +my $forwardfile="$home/.forward"; print '