Improvement accept id licencse
This commit is contained in:
@@ -420,9 +420,11 @@ class license_application extends padl
|
|||||||
$DATA = $this->_unwrap_license($dat_str);
|
$DATA = $this->_unwrap_license($dat_str);
|
||||||
if (is_array($DATA)) {
|
if (is_array($DATA)) {
|
||||||
# missing / incorrect id therefore it has been tampered with
|
# missing / incorrect id therefore it has been tampered with
|
||||||
if ($DATA['ID'] != G::encryptOld($this->ID1)) {
|
/*
|
||||||
|
*Disable to accept licenses from other workspaces
|
||||||
|
*if ($DATA['ID'] != G::encryptOld($this->ID1)) {
|
||||||
$DATA['RESULT'] = 'CORRUPT';
|
$DATA['RESULT'] = 'CORRUPT';
|
||||||
}
|
}*/
|
||||||
if ($this->USE_TIME) {
|
if ($this->USE_TIME) {
|
||||||
# the license is being used before it's official start
|
# the license is being used before it's official start
|
||||||
if ($DATA['DATE']['START'] > time() + $this->START_DIF) {
|
if ($DATA['DATE']['START'] > time() + $this->START_DIF) {
|
||||||
|
|||||||
Reference in New Issue
Block a user