Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (isset( $_GET['scriptdomain'] )) {
  15. if ($_GET['scriptdomain'] == 1) {
  16. echo 'This script is registered to <strong>idautomation.com</strong>';
  17. exit( );
  18. }
  19. }
  20.  
  21.  
  22. if (isset( $_GET['serverinfo'] )) {
  23. if ($_GET['serverinfo'] == 1) {
  24. phpinfo( );
  25. exit( );
  26. }
  27. }
  28.  
  29. $domain_test1 = $_SERVER['SERVER_NAME'];
  30. $domain_test2 = $_SERVER['HTTP_HOST'];
  31. $domain_licensed = preg_replace( '/\./', '\.', 'idautomation.com' );
  32.  
  33. if (preg_match( '/localhost|' . $domain_licensed . '/i', $domain_test1 ) === false) {
  34. if (preg_match( '/localhost|' . $domain_licensed . '/i', $domain_test2 ) === false) {
  35. echo 'Invalid domain for this script. Please contact <a href="mailto: info@questionanswerscript.com">Question Answer Script Support Team</a>. .';
  36. exit( );
  37. }
  38. }
  39.  
  40. set_include_path( '.' . PATH_SEPARATOR . $zend_framework . PATH_SEPARATOR . '../application/default/models/' . PATH_SEPARATOR . get_include_path( ) . PATH_SEPARATOR . '../application/' . PATH_SEPARATOR . '../application/default/controllers/' );
  41. require_once( 'Zend/Loader/Autoloader.php' );
  42. $autoloader = Zend_Loader_Autoloader::getinstance( );
  43. $autoloader->registerNamespace( 'Zend_' );
  44. Zend_Session::start( );
  45. $frontController = Zend_Controller_Front::getinstance( );
  46. .............................................................
  47. ......................
  48. .......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement