Feature #1671 Checkbox to enable/disable PHP (vhost settings + fpm pool) for an entire vhost

This commit is contained in:
Dominic Schallert
2016-11-13 14:41:39 +01:00
parent 7e4164da26
commit b0326c640c
5 changed files with 50 additions and 1 deletions

View File

@@ -225,6 +225,14 @@ return array(
'image' => 'icons/domain_edit.png',
'visible' => (($userinfo['change_serversettings'] == '1' || $userinfo['caneditphpsettings'] == '1') ? true : false),
'fields' => array(
'phpenabled' => array(
'label' => $lng['admin']['phpenabled'],
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array('1')
),
'openbasedir' => array(
'label' => 'OpenBasedir',
'type' => 'checkbox',