I Need to get the public path of my project laravel online , it's working with this line fine at local server but online it's not :
(public_path().'/website/'.$path);
So the problem is with that : (public_path())
, how to make it working fine on online server too .
via Dina Shaldoum