jeudi 2 juin 2016

How to remove public dir from storage path in Laravel 5.2

I am using below code

dd(URL(env("UserFolder") . \Auth::user()->UserID . "/" . \Auth::user()->UniqueFileName));

which gives below result.

http://localhost/SportsApp/public/storage/User17/9.png

Is there any way to remove public directory ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TMl7iE
via IFTTT

Aucun commentaire:

Enregistrer un commentaire