Stuff
This commit is contained in:
parent
011755e6c9
commit
c5dfc53b82
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PublicController extends BaseController
|
||||||
|
|
||||||
//ORginal File exists need to be resized
|
//ORginal File exists need to be resized
|
||||||
$file = null;
|
$file = null;
|
||||||
if (Storage::disk('cache')->exists($cacheName."_orginal")) {
|
if (Storage::disk('cache')->exists($cacheName."_".$size)) {
|
||||||
Log::info("Get orginal size from Cache");
|
Log::info("Get orginal size from Cache");
|
||||||
$file = Storage::disk("cache")->get($cacheName."_orginal");
|
$file = Storage::disk("cache")->get($cacheName."_orginal");
|
||||||
$this->addAccessLog($tenant->id, $gallery->id, $image->id, "Cache", $image->size);
|
$this->addAccessLog($tenant->id, $gallery->id, $image->id, "Cache", $image->size);
|
||||||
|
|
Loading…
Reference in a new issue