add notice for settings that might require reconfiguration of specific services

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-08 10:24:31 +01:00
parent b6d850dac3
commit ec8338592d
20 changed files with 124 additions and 99 deletions

View File

@@ -43,6 +43,7 @@ return [
'goaccess' => lng('serversettings.traffictool.goaccess')
],
'save_method' => 'storeSettingUpdateTrafficTool',
'requires_reconf' => ['system']
],
'system_webalizer_quiet' => [
'label' => lng('serversettings.webalizer_quiet'),
@@ -86,7 +87,8 @@ return [
'string_type' => 'dir',
'default' => '/etc/awstats/',
'save_method' => 'storeSettingField',
'visible' => Settings::Get('system.traffictool') == 'awstats'
'visible' => Settings::Get('system.traffictool') == 'awstats',
'requires_reconf' => ['system:awstats']
],
'system_awstats_icons' => [
'label' => lng('serversettings.awstats_icons'),