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

index a9f0692..d62c345 100644 (file)
@@ -1,9 +1,9 @@
 # idmapd-lib.pl
 # Common functions for the idmapd config
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # get_config()
 # Returns the idmapd config