Use new module
authorJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:28 +0000 (21:31 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:28 +0000 (21:31 +0000)
ppp-client/ppp-client-lib.pl

index 875d7b1..6bc8563 100644 (file)
@@ -3,9 +3,9 @@
 # XXX what about redhat connect process?
 # XXX what about SuSE connect process?
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 $details_file = "$module_config_directory/connect";
 $resolv_conf = "/etc/resolv.conf";
 $ppp_resolv_conf = "/etc/ppp/resolv.conf";