|
|
@@ -50,18 +50,27 @@ function siteBuilder_ConfigOptions() {
|
|
|
"Size" => "25", # Defines the Field Width
|
|
|
"Description" => "Full Builder URL (prefix//hostname:port/)",
|
|
|
"Default" => "https://builder.thurdata.ch/",
|
|
|
- ], [
|
|
|
+ ],
|
|
|
+ "HostingPlanID" => [
|
|
|
"FriendlyName" => "Hosting Plan ID",
|
|
|
"Type" => "text", # Text Box
|
|
|
"Size" => "25", # Defines the Field Width
|
|
|
"Description" => "Set the hostingPlan ID for this Product",
|
|
|
"Default" => "Free",
|
|
|
- ], [
|
|
|
+ ],
|
|
|
+ "Quota" => [
|
|
|
"FriendlyName" => "Quota in MB",
|
|
|
"Type" => "text", # Text Box
|
|
|
"Size" => "25", # Defines the Field Width
|
|
|
"Description" => "Set the Quoat matching Your HostingPlan (MB)",
|
|
|
"Default" => "512",
|
|
|
+ ],
|
|
|
+ "BuilderIP" => [
|
|
|
+ "FriendlyName" => "Builder Public IP",
|
|
|
+ "Type" => "text", # Text Box
|
|
|
+ "Size" => "25", # Defines the Field Width
|
|
|
+ "Description" => "Set the public IP of the Webserver for DNS handling",
|
|
|
+ "Default" => "185.163.51.234",
|
|
|
]
|
|
|
];
|
|
|
}
|
|
|
@@ -388,6 +397,15 @@ function siteBuilder_UnsuspendAccount($params) {
|
|
|
*/
|
|
|
function siteBuilder_ClientArea($params) {
|
|
|
$siteBuilder = new ApiClient(getSiteBuilderApiURL($params), $params['serveraccesshash']);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'siteBuilder',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'debug',
|
|
|
+ 'debug'
|
|
|
+ );
|
|
|
+
|
|
|
$clientInfo = array('moduleclientarea' => '1');
|
|
|
$clientInfo['domain'] = $params['domain'];
|
|
|
// Client status
|
|
|
@@ -1028,7 +1046,7 @@ function siteBuildersetDNS($params, $site) {
|
|
|
'type' => 'A',
|
|
|
'class' => 'IN',
|
|
|
'data' => array(
|
|
|
- 'address' => $params['serverip'],
|
|
|
+ 'address' => $params['configoption4'],
|
|
|
),
|
|
|
);
|
|
|
array_push($zoneRecords, $domainRecord);
|