|
|
@@ -390,6 +390,13 @@ function siteBuilder_ClientArea($params) {
|
|
|
}
|
|
|
array_push($clientInfo['sites'],['name' => $site->name, 'sslProd' => $sslProd, 'sslDev' => $sslDev]);
|
|
|
}
|
|
|
+ logModuleCall(
|
|
|
+ 'siteBuilder',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'debug',
|
|
|
+ $clientInfo
|
|
|
+ );
|
|
|
return array(
|
|
|
'tabOverviewReplacementTemplate' => 'clientarea',
|
|
|
'vars' => $clientInfo,
|
|
|
@@ -570,7 +577,7 @@ function siteBuilder_editSite($params) {
|
|
|
'type' => 'internal', // (required) 'internal'
|
|
|
'domain' => $site, // (required) domain of the user website you want to edit
|
|
|
'lang' => 'de', // (optional) 2-letter language code, set language code you whant builder to open in
|
|
|
- 'apiUrl' => '/deployDev', // (required) API endpoint URL
|
|
|
+ 'apiUrl' => '/deploy' . $params['username'] . '/' . $site, // (required) API endpoint URL
|
|
|
'resellerClientAccountId' => $params['serviceid'], // (required) ID of website/user in your system
|
|
|
// 'username' => 'example_user', // (optional) authorization username to be used with API endpoint
|
|
|
// 'password' => 'example_password', // (optional) authorization password to be used with API endpoint
|