Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- namespace WHMCS;
- class License
- {
- const LICENSE_API_VERSION = '1.1';
- const LICENSE_API_HOSTS = array(
- 'a.licensing.whmcs.com',
- 'b.licensing.whmcs.com',
- 'c.licensing.whmcs.com',
- 'd.licensing.whmcs.com',
- 'e.licensing.whmcs.com',
- 'f.licensing.whmcs.com'
- );
- const STAGING_LICENSE_API_HOSTS = array( 'hou-1.licensing.web.staging.whmcs.com' );
- private $licensekey = '';
- private $localkey = false;
- private $keydata = null;
- private $salt = '';
- private $postmd5hash = '';
- private $localkeydays = '10';
- private $allowcheckfaildays = '5';
- private $useInternalLicensingMirror = false;
- private $debuglog = array( );
- private $lastCurlError = null;
- public function checkFile($value)
- {
- if ($value != 'a896faf2c31f2acd47b0eda0b3fd6070958f1161') {
- throw new Exception\Fatal( 'File version mismatch. Please contact support.' );
- }
- return $this;
- }
- public function setLicenseKey($licenseKey)
- {
- $this->licensekey = $licenseKey;
- return $this;
- }
- public function setLocalKey($localKey)
- {
- $this->decodeLocal( $localKey );
- .......................................................................
- .....................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement