diff --git a/fastrpc.cgi b/fastrpc.cgi index 8ee5844f4..ab8b7c599 100755 --- a/fastrpc.cgi +++ b/fastrpc.cgi @@ -4,7 +4,8 @@ # client. From then on, direct TCP connections can be made to this port # to send requests and get replies. -do './web-lib.pl'; +BEGIN { push(@INC, ".."); }; +use WebminCore; use POSIX; use Socket; $force_lang = $default_lang;