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

index cf14f61..ac1ce1f 100644 (file)
@@ -1,9 +1,9 @@
 # Functions for viewing and managing zones
 # XXX proper pool selection field
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 &foreign_require("net", "net-lib.pl");
 &foreign_require("mount", "mount-lib.pl");