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

index cd333b2..f1545bd 100644 (file)
@@ -1,9 +1,9 @@
 # pap-lib.pl
 # Functions for managing the mgetty configuration files
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 do 'secrets-lib.pl';