Advertisement
Guest User

Untitled

a guest
Oct 25th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 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. $_start = microtime(true);
  15. $rootPath = dirname($_SERVER['DOCUMENT_ROOT']);
  16. include_once $rootPath . '/lib/class.gbCore.php';
  17. $contexts = [
  18. 'admin' => ['webAdmin', 'web'],
  19. 'public' => ['webPublic', 'web'],
  20. 'jsonrpc' => ['jsonrpc', 'jsonrpc']
  21. ];
  22. $url = current(array_filter(explode('/', parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))));
  23.  
  24. if (!isset($contexts[$url])) {
  25. header('Location: /' . key($contexts) . '/');
  26. .................................................................
  27. ..........................................
  28. .....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement