Handle hostnames with upper-case letters
[webmin.git] / module_chooser.cgi
index cd03c06..66060e6 100755 (executable)
@@ -1,8 +1,10 @@
 #!/usr/local/bin/perl
 # This CGI generates the HTML for choosing a module or list of modules
 
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
 $trust_unknown_referers = 1;
-require './web-lib.pl';
 &init_config();
 &ReadParse(undef, undef, 2);
 %access = &get_module_acl();