Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class MX_Controller
  15. {
  16. public $autoload = array( );
  17.  
  18. public function __construct()
  19. {
  20. $class = str_replace( CI::$APP->config->item( 'controller_suffix' ), '', get_class( $this ) );
  21. log_message( 'debug', $class . ' MX_Controller Initialized' );
  22. Modules::$registry[strtolower( $class )] = $this;
  23. $this->load = clone load_class( 'Loader' );
  24. $this->load->initialize( $this );
  25. $CI = &get_instance( );
  26. $MAXIMUM_ACCOUNT = 0;
  27. $settings = $CI->db->select( '*' )->get( SETTINGS_TB )->row( );
  28.  
  29. if (!(empty( $settings ))) {
  30. if ((segment( 1 ) != 'settings') && (segment( 1 ) != 'cronjob') && (segment( 1 ) != '') && (segment( 2 ) != 'ajax_login')) {
  31. $code = urlencode( $settings->purchase_code );
  32. $website = str_replace( 'install/', '', @$_SERVER['HTTP_REFERER'] );
  33. $url = 'http://vtcreators.com/license/verify?purchase_code=' . $code . '&domain=' . $_SERVER['HTTP_HOST'] . '&website=' . $website . '&app=vtgram';
  34. $ch = curl_init( );
  35. curl_setopt( $ch, CURLOPT_HEADER, 0 );
  36. ........................................................................
  37. ..................................
  38. ........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement