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

index 213543e..2f11abf 100644 (file)
@@ -4,9 +4,9 @@
 # - rule sections
 # - read_shorewall_config & standard_parser do not allow quoted comment characters
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # Get the version
 $shorewall_version = &get_shorewall_version(0);