Actualizacion y bloqueo de peticion de licencias de activacion
This commit is contained in:
@@ -34,8 +34,10 @@ class CoreComponentRepository
|
||||
}
|
||||
|
||||
protected static function finalizeRepository($rn) {
|
||||
if($rn == "bad" && env('DEMO_MODE') != 'On') {
|
||||
if($rn == "bad" && env('DEMO_MODE') != 'Off') { //modificacion paa que no solicite purchase code por kquiroz
|
||||
return redirect('https://activeitzone.com/activation/')->send();
|
||||
// return redirect('https://desarrollo.test/dashboard/')->send();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +60,10 @@ class CoreComponentRepository
|
||||
curl_close($stream);
|
||||
|
||||
if($rn == 'no') {
|
||||
self::finalizeCache($addon);
|
||||
//self::finalizeCache($addon); //modificado para ver
|
||||
Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
|
||||
return 'yes';
|
||||
});
|
||||
}
|
||||
else{
|
||||
Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
|
||||
|
||||
Reference in New Issue
Block a user