Commit c56ca0d8 authored by Falko Timme's avatar Falko Timme

- Added PHP-FPM to client and reseller settings.

parent a4179934
......@@ -665,7 +665,7 @@ $form["tabs"]['limits'] = array (
'default' => '',
'separator' => ',',
'valuelimit' => 'client:web_php_options',
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
),
'limit_web_aliasdomain' => array (
'datatype' => 'INTEGER',
......
......@@ -331,7 +331,7 @@ $form["tabs"]['limits'] = array (
'default' => '',
'separator' => ',',
'valuelimit' => 'client:web_php_options',
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
),
'limit_web_aliasdomain' => array (
'datatype' => 'INTEGER',
......
......@@ -598,7 +598,7 @@ $form["tabs"]['limits'] = array (
),
'default' => '',
'separator' => ',',
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
),
'limit_web_aliasdomain' => array (
'datatype' => 'INTEGER',
......
......@@ -128,7 +128,7 @@ function applyClientTemplates($clientId){
$update .= '`' . $k . "`='" . $v . "'";
}
}
$sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
if($update != '') $sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
$app->db->query($sql);
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment