lundi 8 avril 2019

Laravel file store returns tmp file name

simple question. I tried to save a file to storage from a form post. Code:

$path = $request->file('image')->store('image');

But the $path returns as /tmp/phpCCTWsV

How to fix this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire