vendredi 1 juillet 2016

Laravel 5.2 UploadedFile realPath not /tmp but /public

When I upload a file to my API on vagrant everything works fine and laravel writes the file to /tmp/phpLRJnhx. When commit everything and pull the code on the live server Laravel writes the file to /var/www/webdir.nl/public. Why doesn't Laravel write the file to /tmp/ on the live server?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire