do not show 'override fpmconfig' checkbox when not using php-fpm in php-configs

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-12 19:48:56 +01:00
parent ab819129dd
commit dc44c67f86

View File

@@ -100,6 +100,7 @@ return array(
'value' => array()
),
'override_fpmconfig' => array(
'visible' => (Settings::Get('phpfpm.enabled') == 1 ? true : false),
'label' => $lng['serversettings']['phpfpm_settings']['override_fpmconfig'],
'type' => 'checkbox',
'values' => array(