Wednesday, March 29, 2017

Getting the public path on online server in laravel project

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

Advertisement