#!/usr/local/bin/perl
# Send the webmin feedback form
-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();
+ }
&ReadParseMime();
&error_setup($text{'feedback_err'});
%access = &get_module_acl();