Use new module in top-level CGIs

This commit is contained in:
Jamie Cameron
2009-03-01 07:50:19 +00:00
parent c98c806c41
commit 69fba29b14

View File

@@ -17,7 +17,8 @@ if (!$ENV{'GATEWAY_INTERFACE'}) {
$command_line = 1;
$< == 0 || die "xmlrpc.pl must be run as root";
}
do './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
use POSIX;
use Socket;
$force_lang = $default_lang;