Skip to content

Commit c56ca0d

Browse files
committed
- Added PHP-FPM to client and reseller settings.
1 parent a417993 commit c56ca0d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

interface/web/client/form/client.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@
665665
'default' => '',
666666
'separator' => ',',
667667
'valuelimit' => 'client:web_php_options',
668-
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
668+
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
669669
),
670670
'limit_web_aliasdomain' => array (
671671
'datatype' => 'INTEGER',

interface/web/client/form/client_template.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
'default' => '',
332332
'separator' => ',',
333333
'valuelimit' => 'client:web_php_options',
334-
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
334+
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
335335
),
336336
'limit_web_aliasdomain' => array (
337337
'datatype' => 'INTEGER',

interface/web/client/form/reseller.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
),
599599
'default' => '',
600600
'separator' => ',',
601-
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
601+
'value' => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
602602
),
603603
'limit_web_aliasdomain' => array (
604604
'datatype' => 'INTEGER',

interface/web/client/tools.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function applyClientTemplates($clientId){
128128
$update .= '`' . $k . "`='" . $v . "'";
129129
}
130130
}
131-
$sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
131+
if($update != '') $sql = 'UPDATE client SET ' . $update . " WHERE client_id = " . intval($clientId);
132132
$app->db->query($sql);
133133
}
134134
?>

0 commit comments

Comments
 (0)