mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Let user choose when to reload Apache https://github.com/virtualmin/virtualmin-gpl/issues/195"
This reverts commit 399ded7829.
This commit is contained in:
@@ -13,6 +13,6 @@ $conf = &get_config();
|
|||||||
&error_setup(&text('efailed', $text{"type_$in{'type'}"}));
|
&error_setup(&text('efailed', $text{"type_$in{'type'}"}));
|
||||||
&parse_inputs(\@edit, $conf, $conf);
|
&parse_inputs(\@edit, $conf, $conf);
|
||||||
&webmin_log("global", $in{'type'}, undef, \%in);
|
&webmin_log("global", $in{'type'}, undef, \%in);
|
||||||
&restart_apache();
|
|
||||||
&redirect("index.cgi?mode=global");
|
&redirect("index.cgi?mode=global");
|
||||||
|
|
||||||
|
|||||||
@@ -28,5 +28,5 @@ elsif ($in{'type'} == 1 && &is_virtualmin_domain($v)) {
|
|||||||
&error_setup(&text('efailed', $text{"type_$in{'type'}"}));
|
&error_setup(&text('efailed', $text{"type_$in{'type'}"}));
|
||||||
&parse_inputs(\@edit, $conf, &get_config());
|
&parse_inputs(\@edit, $conf, &get_config());
|
||||||
&webmin_log("virt", $in{'type'}, &virtual_name($v, 1), \%in);
|
&webmin_log("virt", $in{'type'}, &virtual_name($v, 1), \%in);
|
||||||
&restart_apache();
|
|
||||||
&redirect("virt_index.cgi?virt=$in{'virt'}");
|
&redirect("virt_index.cgi?virt=$in{'virt'}");
|
||||||
|
|||||||
Reference in New Issue
Block a user