mirror of
https://github.com/webmin/webmin.git
synced 2026-06-04 20:30:22 +01:00
Respect option to add new configs to a different file
https://github.com/virtualmin/virtualmin-gpl/issues/324
This commit is contained in:
@@ -364,7 +364,7 @@ if ($parent) {
|
||||
}
|
||||
else {
|
||||
# Add to the global config file
|
||||
$file = &get_config_file();
|
||||
$file = $before ? $before->{'file'} : &get_add_config_file();
|
||||
$lref = &read_file_lines($file);
|
||||
if ($before) {
|
||||
# Add before another block
|
||||
|
||||
Reference in New Issue
Block a user