Skip to content

Commit

Permalink
Merge pull request #20 from ned-ster/patch-10
Browse files Browse the repository at this point in the history
Update Ispconfig3.php
  • Loading branch information
fordnox authored Nov 12, 2016
2 parents aea585c + b1b261d commit f9b8019
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions bb-library/Server/Manager/Ispconfig3.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,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 @@ -351,6 +357,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

0 comments on commit f9b8019

Please sign in to comment.