Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:55:34 +0000 (22:55 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:55:34 +0000 (22:55 +0000)
ssh/index.cgi

index c42b8ec..5c62e6b 100755 (executable)
@@ -2,9 +2,9 @@
 # index.cgi
 # Display the SSH applet
 
-require '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 &ui_print_header(undef, "SSH Login", "", undef, 1, 1);
 
 $addr = $config{'host'} ? $config{'host'}