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

index 662eb76..6bc2b31 100644 (file)
@@ -1,9 +1,9 @@
 # tunnel-lib.pl
 # Common functions for the HTTP-tunnel module
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 1;