Home.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\Http\Client;
  3. use ThurData\Servers\AwsEc2\App\UI\Client\Home\Pages\ScheduledTasks;
  4. use ThurData\Servers\AwsEc2\App\UI\Client\Home\Pages\StatusWidget;
  5. use ThurData\Servers\KerioEmail\App\UI\Client\Home\Pages\Dashboard;
  6. use ThurData\Servers\KerioEmail\Core\Http\AbstractClientController;
  7. use ThurData\Servers\KerioEmail\Core\Helper;
  8. use ThurData\Servers\KerioEmail\App\Traits\HostingService;
  9. use ThurData\Servers\KerioEmail\Core\UI\Traits\WhmcsParams;
  10. /**
  11. *
  12. * Created by PhpStorm.
  13. * User: ThurData
  14. * Date: 10.09.19
  15. * Time: 10:13
  16. * Class Home
  17. */
  18. class Home extends AbstractClientController
  19. {
  20. use WhmcsParams;
  21. public function index()
  22. {
  23. logModuleCall(
  24. 'kerioEmail',
  25. __FUNCTION__,
  26. $params,
  27. 'Debug params',
  28. $this->getWhmcsParamByKey('status')
  29. );
  30. // if ($this->getWhmcsParamByKey('status') === 'Active')
  31. // {
  32. $response = Helper\view()->addElement(Dashboard::class);
  33. return $response;
  34. // }
  35. }
  36. }