|
@@ -158,11 +158,14 @@ function cwp7_UnsuspendAccount($params) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function cwp7_ClientArea($params){
|
|
function cwp7_ClientArea($params){
|
|
|
|
|
+ //debug
|
|
|
|
|
+ $params['username'] = 'ziilimmo';
|
|
|
|
|
+ //debug
|
|
|
$clientInfo = array('moduleclientarea' => '1');
|
|
$clientInfo = array('moduleclientarea' => '1');
|
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
|
- $response = $cwp7->getAutoSSL('ziilimmo');
|
|
|
|
|
|
|
+ $response = $cwp7->getAutoSSL($params['username']);
|
|
|
$clientInfo['ssl'] = $response;
|
|
$clientInfo['ssl'] = $response;
|
|
|
- $response = $cwp7->getAccount('ziilimmo');
|
|
|
|
|
|
|
+ $response = $cwp7->getAccount($params['username']);
|
|
|
if($response['status'] != 'OK') {
|
|
if($response['status'] != 'OK') {
|
|
|
logModuleCall(
|
|
logModuleCall(
|
|
|
'cwp7',
|
|
'cwp7',
|