Merge pull request #5948 from turbo124/v5-develop

Fixes for Import
This commit is contained in:
David Bomba 2021-06-08 08:34:12 +10:00 committed by GitHub
commit 7caf9965e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,8 @@ class ImportJsonController extends BaseController
$contents = $this->unzipFile($import_file->getPathname()); $contents = $this->unzipFile($import_file->getPathname());
$hash = Str::random(32); $hash = Str::random(32);
nlog($hash);
Cache::put( $hash, base64_encode( $contents ), 3600 ); Cache::put( $hash, base64_encode( $contents ), 3600 );