Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.0.9.0
  8. * @ Author : DeZender
  9. * @ Release on : 08.08.2019
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. namespace Api\v1\License\Services\LicenseService;
  15.  
  16. class License
  17. {
  18. const LICENSE_PATH = 'misc/license';
  19.  
  20. /**
  21. * @return bool
  22. */
  23. public function isValid(): bool
  24. {
  25. try {
  26. $this->jwtDecode(\Storage::get(self::LICENSE_PATH));
  27. return true;
  28. }
  29. catch (\Exception $exception) {
  30. \Log::error($exception->getMessage());
  31. ...............................................................................................
  32. .............................................................
  33. ............................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement