mirror of
https://github.com/webmin/webmin.git
synced 2026-08-04 15:10:41 +01:00
The %access hash has to be loaded before it can be referenced
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
# * Display form to manually edit dhcpd.conf file (pass to save_text.cgi)
|
||||
|
||||
require './dhcpd-lib.pl';
|
||||
%access = &get_module_acl();
|
||||
$access{'noconfig'} && &error($text{'text_ecannot'});
|
||||
$conf = &get_config();
|
||||
&ui_print_header($text{'text_editor'}, $text{'text_title'}, "");
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
require './dhcpd-lib.pl';
|
||||
&ReadParseMime();
|
||||
%access = &get_module_acl();
|
||||
$access{'noconfig'} && &error($text{'text_ecannot'});
|
||||
$conf = &get_config();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user