Use new module in top-level CGIs

This commit is contained in:
Jamie Cameron
2009-03-01 07:49:39 +00:00
parent a63fbb3067
commit b1f4ffba9c

View File

@@ -1,7 +1,9 @@
#!/usr/local/bin/perl
# Display all Webmin modules visible to the current user
require './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
$hostname = &get_display_hostname();
$ver = &get_webmin_version();