From 08837aa6f29f7243ea85de4197182cf2e91fda95 Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Mena Date: Thu, 14 May 2015 09:57:34 -0400 Subject: [PATCH] Improvement accept id licencse --- workflow/engine/classes/class.license.app.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workflow/engine/classes/class.license.app.php b/workflow/engine/classes/class.license.app.php index d46d57fc2..1594fddb7 100644 --- a/workflow/engine/classes/class.license.app.php +++ b/workflow/engine/classes/class.license.app.php @@ -420,9 +420,11 @@ class license_application extends padl $DATA = $this->_unwrap_license($dat_str); if (is_array($DATA)) { # 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'; - } + }*/ if ($this->USE_TIME) { # the license is being used before it's official start if ($DATA['DATE']['START'] > time() + $this->START_DIF) {