vendredi 10 février 2017

Laravel not storing files from request

I got form with file upload named "image". Form is working and i'm getting image but for some reason it's not stored. this is the code I use to store image:

$path = $request->image->store('storage/uploads');

before that I check

$request->hasFile('image')

and later I'm saving $path. Path is successfully saved and when i check it it's really storage/uploads/radnomid but there is no file



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

Aucun commentaire:

Enregistrer un commentaire