From b1b261da31b2814fc46a91ba7f2957651a7b09f6 Mon Sep 17 00:00:00 2001 From: Nedim Hadzimahmutovic Date: Tue, 16 Feb 2016 16:31:00 +0100 Subject: [PATCH] Update Ispconfig3.php added - limit_aps - limit_web_quota - limit_traffic_quota - added_date - added_by --- bb-library/Server/Manager/Ispconfig3.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/bb-library/Server/Manager/Ispconfig3.php b/bb-library/Server/Manager/Ispconfig3.php index d5f3fdd..66bba94 100644 --- a/bb-library/Server/Manager/Ispconfig3.php +++ b/bb-library/Server/Manager/Ispconfig3.php @@ -329,15 +329,21 @@ private function createClient(Server_Account &$a, $type) 'limit_spamfilter_wblist' =>'-1', 'limit_spamfilter_user' =>'-1', 'limit_spamfilter_policy' =>'-1', + + 'limit_aps' =>'2', 'default_webserver' =>'1', 'limit_web_domain' =>'-1', - 'web_php_options' =>"SuPHP", + + 'limit_web_quota' =>'-1', + 'limit_traffic_quota' =>'-1', + + 'web_php_options' =>"php-fpm", 'limit_web_aliasdomain' =>'-1', 'limit_web_subdomain' =>'-1', 'limit_ftp_user' =>'-1', 'limit_shell_user' =>'-1', - 'ssh_chroot' =>'None', + 'ssh_chroot' =>"no", 'default_dnsserver' =>'1', 'limit_dns_zone' =>'-1', @@ -349,6 +355,10 @@ private function createClient(Server_Account &$a, $type) 'limit_cron' =>'0', 'limit_cron_type' =>'', 'limit_cron_frequency' =>'-1', + 'limit_traffic_quota' => $p->getBandwidth(), + 'limit_client' => $type, + 'added_date' => date('Y-m-d'), + 'added_by' => 'admin', ); $action = 'client_add'; $result = $this->_request($action, $params); @@ -625,4 +635,4 @@ private function _request($action, $params = array()) return $soap_result; } -} \ No newline at end of file +}