vendredi 27 novembre 2015

Larevel - Define path variable

how do i define path variable in laravel? For example, i have a webserver path http://ift.tt/1NTLJLa

in my html i will

   <img style="width: 100%;padding:1px;border: 2px solid #555" src="http://ift.tt/1HueJMO{{ $data->ap_thread_created_by}}/{{ $data->image_path }}">

but i wish to get the path in my config or somewhere else.. instead of hardcoding the path.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire