This commit is contained in:
Kekskurse 2021-01-20 00:08:27 +01:00
parent acba56a15b
commit e873cdf191

View file

@ -41,7 +41,7 @@ class EXIFAuslesen implements ShouldQueue
$gallery = Gallery::query()->where("id", "=", $image->gallery)->firstOrFail();
$tenant = Tenant::query()->where("id", "=", $gallery->tenant)->firstOrFail();
$cacheName = "cache/".$tenant->url."_".$gallery->url."_".$image->id;
$tmpfname = tempnam("/tmp", "FOO");
$tmpfname = tempnam("/tmp", "FOO").$image->filename;
//Check if orginal size is cached on the current system
if (Storage::disk('cache')->exists($cacheName."_orginal")) {