Handle hostnames with upper-case letters
[webmin.git] / feedback_form.cgi
index 932f8a4..e91871b 100755 (executable)
@@ -2,9 +2,13 @@
 # feedback_form.cgi
 # Display a form so that the user can send in a webmin bug report
 
-require './web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
+
 &init_config();
-require './ui-lib.pl';
+if (&get_product_name() eq 'usermin') {
+       &switch_to_remote_user();
+       }
 &ReadParse();
 &error_setup($text{'feedback_err'});
 %access = &get_module_acl();