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

index 2f01b29..0e8ef20 100644 (file)
@@ -2,9 +2,9 @@
 # Common functions for PPTP server configuration
 # XXX help pages
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 do 'secrets-lib.pl';
 %access = &get_module_acl();