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

index 82e4bf8..962e9d6 100644 (file)
@@ -1,8 +1,8 @@
 # man-lib.pl
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 $google_host = "www.google.com";
 $google_port = 80;