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

index da09475..0da5eb2 100644 (file)
@@ -1,8 +1,8 @@
 # pserver-lib.pl
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 $cvs_path = &has_command($config{'cvs'});
 $cvs_port = 2401;