Crons
This commit is contained in:
parent
d619cb21ae
commit
008ab7c539
1 changed files with 0 additions and 1 deletions
|
@ -40,7 +40,6 @@ class PublicController extends BaseController
|
||||||
|
|
||||||
public function returnImageFile($tenant, $gallery, $image, Request $request) {
|
public function returnImageFile($tenant, $gallery, $image, Request $request) {
|
||||||
$globalstart = microtime(true);
|
$globalstart = microtime(true);
|
||||||
Log::info("Getting Image start", ["time" => microtime(true)]);
|
|
||||||
$tenant = Tenant::query()->where("url", "=", $tenant)->firstOrFail();
|
$tenant = Tenant::query()->where("url", "=", $tenant)->firstOrFail();
|
||||||
$gallery = Gallery::getByTenantAndUrl($tenant->id, $gallery);
|
$gallery = Gallery::getByTenantAndUrl($tenant->id, $gallery);
|
||||||
$image = Image::query()->where("gallery", "=", $gallery->id)->where("id", "=", $image)->firstOrFail();
|
$image = Image::query()->where("gallery", "=", $gallery->id)->where("id", "=", $image)->firstOrFail();
|
||||||
|
|
Loading…
Reference in a new issue