From c550795b89b1acfbc0f0ade1cd6d96e955ed5639 Mon Sep 17 00:00:00 2001 From: Nedim Hadzimahmutovic Date: Tue, 16 Feb 2016 16:22:05 +0100 Subject: [PATCH] Update Ispconfig3.php added - added_by - backup_interval - backup_copies - subdomain --- bb-library/Server/Manager/Ispconfig3.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bb-library/Server/Manager/Ispconfig3.php b/bb-library/Server/Manager/Ispconfig3.php index d5f3fdd..02bb878 100644 --- a/bb-library/Server/Manager/Ispconfig3.php +++ b/bb-library/Server/Manager/Ispconfig3.php @@ -223,10 +223,17 @@ private function createSite(Server_Account &$a) $site_params['client_group_id'] = $client->getAid() + 1; //always will be this groupd id + 1 $site_params['server_id'] = $this->getServerId(); + + $site_params['added_by'] = $client->getId(); + + $site_params['backup_interval'] = "weekly"; + $site_params['backup_copies'] = '2'; //Set the defaults $site_params['hd_quota'] = $package->getQuota(); $site_params['traffic_quota'] = $package->getBandwidth(); + + $site_params['subdomain'] = 'www'; //Hardcoded values $site_params['allow_override'] = 'All'; @@ -625,4 +632,4 @@ private function _request($action, $params = array()) return $soap_result; } -} \ No newline at end of file +}