Advertisement
Guest User

Untitled

a guest
Jun 4th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 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.1.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 15.05.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. namespace App\Http\Controllers;
  15.  
  16. class LicenseController extends \Controller
  17. {
  18. public function __construct()
  19. {
  20. $this->sas4 = new \SAS4();
  21. }
  22.  
  23. public function get()
  24. {
  25. if (!Core::isSysAdmin()) {
  26. Core::deny('get_license_violation');
  27. }
  28.  
  29. $license = $this->sas4->getLicense();
  30. return response()->json(['status' => 200, 'data' => $license], 200);
  31. }
  32.  
  33. public function _get()
  34. {
  35. return $this->sas4->getLicense();
  36. }
  37.  
  38. public function reload()
  39. {
  40. if (!Core::isSysAdmin()) {
  41. Core::deny('reload_license_violation');
  42. ....................................................................
  43. ...................................
  44. ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement