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

index 4aa5a82..2b3ddd9 100644 (file)
@@ -3,9 +3,9 @@
 # rather than a script.
 # XXX some thing are not supported by ipfw1
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 if (&foreign_check("net")) {
        &foreign_require("net", "net-lib.pl");
        if (defined(&net::get_rc_conf)) {