|
@@ -8,6 +8,7 @@ use ThurData\Servers\KerioEmail\App\UI\Client\Home\Pages\Dashboard;
|
|
|
use ThurData\Servers\KerioEmail\Core\Http\AbstractClientController;
|
|
use ThurData\Servers\KerioEmail\Core\Http\AbstractClientController;
|
|
|
use ThurData\Servers\KerioEmail\Core\Helper;
|
|
use ThurData\Servers\KerioEmail\Core\Helper;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Traits\WhmcsParams;
|
|
use ThurData\Servers\KerioEmail\Core\UI\Traits\WhmcsParams;
|
|
|
|
|
+use ThurData\Servers\KerioEmail\Core\Helper\WhmcsParams as Params;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
@@ -23,8 +24,15 @@ class Home extends AbstractClientController
|
|
|
|
|
|
|
|
public function index()
|
|
public function index()
|
|
|
{
|
|
{
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'kerioEmail',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $params,
|
|
|
|
|
+ 'Debug params',
|
|
|
|
|
+ \ThurData\Servers\KerioEmail\Core\Helper\sl("whmcsParams")->setParams($params)
|
|
|
|
|
+ );
|
|
|
|
|
|
|
|
- if ($this->getWhmcsParamByKey('status') === 'Active')
|
|
|
|
|
|
|
+ if ($this->getWhmcsParamByKey('status') === 'Active')
|
|
|
{
|
|
{
|
|
|
$response = Helper\view()->addElement(Dashboard::class);
|
|
$response = Helper\view()->addElement(Dashboard::class);
|
|
|
return $response;
|
|
return $response;
|