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

index 291d07a..ea2b8ee 100755 (executable)
@@ -2,10 +2,11 @@
 # index.cgi
 # Display the telnet applet
 
-require '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 use Socket;
+
 &init_config();
-do '../ui-lib.pl';
 $theme_no_table = 1 if ($config{'sizemode'} == 1);
 &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1);