Stuff
This commit is contained in:
parent
acba56a15b
commit
e873cdf191
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class EXIFAuslesen implements ShouldQueue
|
||||||
$gallery = Gallery::query()->where("id", "=", $image->gallery)->firstOrFail();
|
$gallery = Gallery::query()->where("id", "=", $image->gallery)->firstOrFail();
|
||||||
$tenant = Tenant::query()->where("id", "=", $gallery->tenant)->firstOrFail();
|
$tenant = Tenant::query()->where("id", "=", $gallery->tenant)->firstOrFail();
|
||||||
$cacheName = "cache/".$tenant->url."_".$gallery->url."_".$image->id;
|
$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
|
//Check if orginal size is cached on the current system
|
||||||
if (Storage::disk('cache')->exists($cacheName."_orginal")) {
|
if (Storage::disk('cache')->exists($cacheName."_orginal")) {
|
||||||
|
|
Loading…
Reference in a new issue