diff --git a/remoting_client/API-docs/sites_web_domain_add.html b/remoting_client/API-docs/sites_web_domain_add.html index 02704b6901f65353db4c89e58a02462944432fc1..4e554008b116b8c1ac4fb2185fd640b507377f19 100644 --- a/remoting_client/API-docs/sites_web_domain_add.html +++ b/remoting_client/API-docs/sites_web_domain_add.html @@ -62,6 +62,8 @@ <p class="margin"> backup_copies (<span class="paratype">int(11)</span>)</p> <p class="margin"> active (<span class="paratype">enum('n','y')</span>)</p> <p class="margin"> traffic_quota_lock (<span class="paratype">enum('n','y')</span>)</p> +<p class="margin"> http_port (<span class="paratype">int(11)</span>)</p> +<p class="margin"> https_port (<span class="paratype">int(11)</span>)</p> <p class="headgrp">Output: </p> <p class="margin"> Returns the ID of the newly added web domain.</p> <!--<b>Output:</b> diff --git a/remoting_client/examples/sites_web_domain_add.php b/remoting_client/examples/sites_web_domain_add.php index b8010e2873c30ff274092c2b2f233a24bd908070..1ddd21e13669d0291f2fa7c356a0aaec3dc389e9 100644 --- a/remoting_client/examples/sites_web_domain_add.php +++ b/remoting_client/examples/sites_web_domain_add.php @@ -59,7 +59,9 @@ try { 'backup_interval' => '', 'backup_copies' => 1, 'active' => 'y', - 'traffic_quota_lock' => 'n' + 'traffic_quota_lock' => 'n', + 'http_port' => '80', + 'https_port' => '443' ); $affected_rows = $client->sites_web_domain_add($session_id, $client_id, $params, $readonly = false);