Guest User

Untitled

a guest
Aug 20th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 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. class FatApp
  15. {
  16. static public function getDb()
  17. {
  18. $obj = FatApplication::getInstance();
  19. return $obj->getDb();
  20. }
  21.  
  22. static public function unregisterGlobals()
  23. {
  24. $obj = FatApplication::getInstance();
  25. $obj->unregisterGlobals();
  26. }
  27.  
  28. static public function getPostedData($key = NULL, $type = NULL, $default = NULL)
  29. {
  30. $obj = FatApplication::getInstance();
  31. return $obj->getPostedData($key, $type, $default);
  32. }
  33.  
  34. static public function getQueryStringData($key = NULL, $type = NULL, $default = NULL)
  35. {
  36. return FatApplication::getInstance()->getQueryStringVar($key, $type, $default);
  37. }
  38.  
  39. static public function getParameters()
  40. {
  41. return FatApplication::getInstance()->getParameters();
  42. }
  43.  
  44. static public function getController()
  45. {
  46. return FatApplication::getInstance()->getController();
  47. }
  48.  
  49. static public function getAction()
  50. {
  51. return FatApplication::getInstance()->getAction();
  52. }
  53.  
  54. static public function getConfig($key, $type = NULL, $defaultValue = NULL)
  55. {
  56. if (NULL == $type) {
  57. $type = FatUtility::VAR_STRING;
  58. }
  59.  
  60. $obj = FatApplication::getInstance();
  61. return $obj->getConfig($key, $type, $defaultValue);
  62. }
  63.  
  64. static public function redirectUser($url = '')
  65. {
  66. FatApplication::redirectUser($url);
  67. }
  68.  
  69. static public function getApacheRequestHeaders()
  70. {
  71. if (function_exists('apache_request_headers')) {
  72. return apache_request_headers();
  73. }
  74.  
  75. $arh = [];
  76. $rx_http = '/\\AHTTP_/';
  77. ...............................................................
  78. ......................................
  79. .................
Add Comment
Please, Sign In to add comment