Update top-level CGIs to support usermin

This commit is contained in:
Jamie Cameron
2010-04-26 21:46:26 -07:00
parent 57869655d9
commit 6961e49899
5 changed files with 15 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
if (&get_product_name() eq 'usermin') {
&switch_to_remote_user();
}
&ReadParse();
&error_setup($text{'feedback_err'});
%access = &get_module_acl();