Skip to content

Commit

Permalink
Update Ispconfig3.php
Browse files Browse the repository at this point in the history
added
- limit_aps
- limit_web_quota
- limit_traffic_quota
- added_date
- added_by
  • Loading branch information
neidiom committed Feb 16, 2016
1 parent a83eb9f commit b1b261d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions bb-library/Server/Manager/Ispconfig3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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);
Expand Down Expand Up @@ -625,4 +635,4 @@ private function _request($action, $params = array())

return $soap_result;
}
}
}

0 comments on commit b1b261d

Please sign in to comment.