mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Use new module in top-level CGIs
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
# config.cgi
|
||||
# Display a form for editing the configuration of a module.
|
||||
|
||||
require './web-lib.pl';
|
||||
BEGIN { push(@INC, ".."); };
|
||||
use WebminCore;
|
||||
require './config-lib.pl';
|
||||
require './ui-lib.pl';
|
||||
&init_config();
|
||||
$m = $in{'module'} || $ARGV[0];
|
||||
&foreign_available($m) || &error($text{'config_eaccess'});
|
||||
|
||||
Reference in New Issue
Block a user