|
|
@@ -120,14 +120,6 @@ function KerioEmail_MetaData()
|
|
|
function KerioEmail_ClientArea($params)
|
|
|
{
|
|
|
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $params,
|
|
|
- 'Debug ClientArea',
|
|
|
- $whmcs
|
|
|
- );
|
|
|
-
|
|
|
require_once __DIR__ . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR . 'AppContext.php';
|
|
|
|
|
|
$appContext = new AppContext();
|
|
|
@@ -136,6 +128,15 @@ function KerioEmail_ClientArea($params)
|
|
|
$domainBaseSize = $productManager->get('domainBaseSize') ? $productManager->get('domainBaseSize') : 0;
|
|
|
$acc_base = $productManager->get('acc_base') ? $productManager->get('acc_base') : 0;
|
|
|
$response = $appContext->runApp('clientarea', $params);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'Debug ClientArea',
|
|
|
+ $response
|
|
|
+ );
|
|
|
+
|
|
|
$response['templateVariables']['acc_base'] = $acc_base;
|
|
|
$response['templateVariables']['acc_add'] = $params['configoptions']['acc_add'] ? $params['configoptions']['acc_add'] : 0;
|
|
|
$response['templateVariables']['domainBaseSize'] = $domainBaseSize;
|