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:
@@ -100,6 +100,7 @@ return array(
|
|||||||
'value' => array()
|
'value' => array()
|
||||||
),
|
),
|
||||||
'override_fpmconfig' => array(
|
'override_fpmconfig' => array(
|
||||||
|
'visible' => (Settings::Get('phpfpm.enabled') == 1 ? true : false),
|
||||||
'label' => $lng['serversettings']['phpfpm_settings']['override_fpmconfig'],
|
'label' => $lng['serversettings']['phpfpm_settings']['override_fpmconfig'],
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'values' => array(
|
'values' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user