From 8565dbce8b0d674f7d639bd56b145a66a5b5fc77 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 11 Apr 2016 08:01:38 +0200 Subject: [PATCH] insert task 99 (regeneration of /etc/cron.d/froxlor file) to the list of task when clicking on 'Regenerate configfiles' Signed-off-by: Michael Kaufmann (d00p) --- admin_settings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin_settings.php b/admin_settings.php index e8213225..18289d28 100644 --- a/admin_settings.php +++ b/admin_settings.php @@ -54,7 +54,7 @@ if ($page == 'overview' && $userinfo['change_serversettings'] == '1') { $settings_part = false; $only_enabledisable = true; } - + // check if the session timeout is too low #815 if (isset($_POST['session_sessiontimeout']) && $_POST['session_sessiontimeout'] < 60 @@ -160,6 +160,8 @@ if ($page == 'overview' && $userinfo['change_serversettings'] == '1') { inserttask('10'); // Using nameserver, insert a task which rebuilds the server config inserttask('4'); + // cron.d file + inserttask('99'); standard_success('rebuildingconfigs', '', array('filename' => 'admin_index.php'));