Use new module in top-level CGIs

This commit is contained in:
Jamie Cameron
2009-03-01 07:49:54 +00:00
parent 9809e1af87
commit dccf8e4e5b

View File

@@ -6,8 +6,10 @@
# seconds of inactivity)
# access{'rpc'} 0=not allowed 1=allowed 2=allowed if root or admin
do './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
use POSIX;
&init_config();
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
local $got;