|
|
@@ -474,7 +474,7 @@ function siteBuilder_editSite($params) {
|
|
|
return 'Error: invalid site name';
|
|
|
}
|
|
|
$site = $_POST['s'];
|
|
|
- $api = new SiteProApiClient('https://builder.thurdata.ch/', 'apikey0', '993yVHwC05TLsx2JI2XFlAhkkPUxR6JbQUYbI.a5HiRtmNV9');
|
|
|
+ $api = new SiteProApiClient('https://builder.thurdata.ch/api/', 'apikey0', '993yVHwC05TLsx2JI2XFlAhkkPUxR6JbQUYbI.a5HiRtmNV9');
|
|
|
// use this for enterprise licenses and change 'your-bulder-domain.com' to your builder domain
|
|
|
//$api = new SiteProApiClient('http://your-bulder-domain.com/api/', 'your_api_username', 'your_api_password');
|
|
|
|
|
|
@@ -487,6 +487,8 @@ function siteBuilder_editSite($params) {
|
|
|
'lang' => 'de', // (optional) 2-letter language code, set language code you whant builder to open in
|
|
|
'apiUrl' => '/deployDev', // (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
|
|
|
));
|
|
|
if (!$res || !is_object($res)) {
|
|
|
logModuleCall(
|