| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace ThurData\Servers\KerioEmail\App\Http\Client;
- use ThurData\Servers\AwsEc2\App\UI\Client\Home\Pages\ScheduledTasks;
- use ThurData\Servers\AwsEc2\App\UI\Client\Home\Pages\StatusWidget;
- use ThurData\Servers\KerioEmail\App\UI\Client\Home\Pages\Dashboard;
- use ThurData\Servers\KerioEmail\Core\Http\AbstractClientController;
- use ThurData\Servers\KerioEmail\Core\Helper;
- use ThurData\Servers\KerioEmail\Core\UI\Traits\WhmcsParams;
- /**
- *
- * Created by PhpStorm.
- * User: ThurData
- * Date: 10.09.19
- * Time: 10:13
- * Class Home
- */
- class Home extends AbstractClientController
- {
- use WhmcsParams;
- public function index()
- {
- logModuleCall(
- 'kerioEmail',
- __FUNCTION__,
- $this,
- 'Debug Home',
- $this->getWhmcsParamByKey('status')
- );
- if ($this->getWhmcsParamByKey('status') === 'Active')
- {
- $response = Helper\view()->addElement(Dashboard::class);
- return $response;
- }
- }
- }
|