Allow use of module parameter

This commit is contained in:
Jamie Cameron
2009-08-17 14:24:52 -07:00
parent fd529f4c05
commit f27220360e

View File

@@ -6,6 +6,7 @@ BEGIN { push(@INC, ".."); };
use WebminCore;
require './config-lib.pl';
&init_config();
&ReadParse();
$m = $in{'module'} || $ARGV[0];
&foreign_available($m) || &error($text{'config_eaccess'});
%access = &get_module_acl(undef, $m);