Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- namespace core\application;
- class LicenseService extends \Traffic\Service\AbstractService
- {
- const SIGNATURE = '98353aac502b25a98c5724a16ae4fd15';
- private $_licenseIp;
- private $_domain;
- public function setDomain($domain)
- {
- $this->_domain = $domain;
- }
- public function getDomain()
- {
- return $this->_domain;
- }
- /**
- * @param string $licenseIp
- */
- public function setLicenseIp($licenseIp)
- {
- $this->_licenseIp = $licenseIp;
- }
- public function getLicenseIp()
- {
- return $this->_licenseIp;
- }
- public function isValidLicenseKey($key)
- {
- return !!preg_match('/^(?:[A-Z0-9]{4}-){3}[A-Z0-9]{4}$/', $key);
- }
- public function saveLicenseKey($newKey)
- {
- if ($this::instance()->isValidLicenseKey($newKey)) {
- ..................................................................
- ......................................
- ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement