mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Add calling any config pre-load function
This commit is contained in:
@@ -56,6 +56,13 @@ foreach $o (@lang_order_list) {
|
||||
&read_file("$file.$o.auto", \%info, \@info_order)
|
||||
if ($auto && -r "$file.$o.auto");
|
||||
}
|
||||
|
||||
# Call any config pre-load function
|
||||
if (&foreign_func_exists($module, 'config_pre_load')) {
|
||||
&foreign_call($module, "config_pre_load", \%info, \@info_order)
|
||||
&foreign_call($module, "config_pre_load", \%einfo)
|
||||
}
|
||||
|
||||
@info_order = &unique(@info_order);
|
||||
|
||||
if ($section) {
|
||||
|
||||
Reference in New Issue
Block a user