|
|
@@ -166,17 +166,6 @@ function cwp7_ClientArea($params){
|
|
|
//debug
|
|
|
// $params['username'] = 'ziilimmo';
|
|
|
//debug
|
|
|
-
|
|
|
- if(opcache_is_script_cached("/Services/Internet/html/modules/servers/cwp7/cwp7.php")) {
|
|
|
- logModuleCall(
|
|
|
- 'cwp7',
|
|
|
- __FUNCTION__,
|
|
|
- '',
|
|
|
- 'debug',
|
|
|
- 'cached'
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
$clientInfo = array('moduleclientarea' => '1');
|
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
|
$response = $cwp7->getAutoSSL($params['username']);
|
|
|
@@ -207,7 +196,18 @@ function cwp7_ClientArea($params){
|
|
|
$clientInfo['mgmtDomain'] = $domain['domain'];
|
|
|
$clientInfo['mgmtEmail'] = $domain['email'];
|
|
|
} else {
|
|
|
- if(array_key_exists($domain['domain'], $sslSites)) {
|
|
|
+
|
|
|
+ if(opcache_is_script_cached("/Services/Internet/html/modules/servers/cwp7/cwp7.php")) {
|
|
|
+ logModuleCall(
|
|
|
+ 'cwp7',
|
|
|
+ __FUNCTION__,
|
|
|
+ '',
|
|
|
+ 'debug',
|
|
|
+ 'cached'
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ if(array_key_exists($domain['domain'], $sslSites)) {
|
|
|
$domain['ssl'] = 1;
|
|
|
$domain['sslexpire'] = $sslSites[$domain['domain']]['expire'];
|
|
|
$domain['autossl'] = $sslSites[$domain['domain']]['auotssl'];
|