mardi 4 septembre 2018

How to save uploaded file with relative path in laravel elfinder?

I am testing file upload using laravel-elfinder 2 and tinyMce 4. When I upload image, the images saved with absolute path like "http://localhost:8000/images/file.jpg". And When I change Server host like "192.168.1.23 or something other", the saved images could not be loaded. When I inspected the link of image, they load from localhost:8000 and failed. So I want to save uploaded image like "images\file.jpg". How could I manipulate that elfinder? If not I will get some problem later.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire