|
|
@@ -20,16 +20,6 @@ if (!defined('WHMCS')) {
|
|
|
const NS1 = '185.163.51.142';
|
|
|
const NS2 = '185.178.193.125';
|
|
|
|
|
|
-if(opcache_is_script_cached("/Services/Internet/html/modules/servers/cwp7/cwp7.php")) {
|
|
|
- logModuleCall(
|
|
|
- 'cwp7',
|
|
|
- __FUNCTION__,
|
|
|
- '',
|
|
|
- 'debug',
|
|
|
- 'cached'
|
|
|
- );
|
|
|
-}
|
|
|
-
|
|
|
function cwp7_MetaData() {
|
|
|
return array(
|
|
|
'DisplayName' => 'CentOS Web Panel Provisioning',
|
|
|
@@ -176,6 +166,17 @@ 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']);
|