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

index 4ee71dc..e56dbae 100644 (file)
@@ -1,9 +1,9 @@
 # export-lib.pl
 # Common functions for exports file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 do "hpux-lib.pl";
 %access = &get_module_acl();