jeudi 29 novembre 2018

Storage::download working wrong in laravel 5.7

I have a file in path:

app/public/template/templateeSkillsMatrix_Config.docx and when i use:

return response()->download(storage_path('app/public/template/eSkillsMatrix_Config.docx'));

It is working, but when i use :

return Storage::download(storage_path('app/public/template/eSkillsMatrix_Config.docx'));

It show an error:

File not found at path: E:/project/agl/nav/New folder/DKMH/storage/app/public/template/eSkillsMatrix_Config.docx

I dont know why. I read laravel docs , but i dont understand what is parameter of it.

Please help!



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

Aucun commentaire:

Enregistrer un commentaire