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

index 9bed858..b85af25 100644 (file)
@@ -1,9 +1,9 @@
 # stunnel-lib.pl
 # Common functions for accessing inetd or xinetd
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 if ($config{'stunnel_path'} =~ /([^\/]+)$/) {
        $stunnel_shortname = $1;