vendredi 3 juin 2016

Laravel S3 file checking breaks

I have a pretty straight forward setup. I'm trying to check and see if a file exists in my bucket. But every time I get Maximum function nesting level of '100' reached I'm not trying/going to increase my nesting.

$image = '/images/ch-' . $id;

if(!\Storage::disk('s3')->exists($image)) 
{
    return $image;
}

I check the documentation and I'm not seeing anything wrong that I'm doing. Maybe someone else has had a similar issue?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Y7ywr0
via IFTTT

Aucun commentaire:

Enregistrer un commentaire