I am aware of
php artisan storage:link
that it is the laravel way of symlink(), But when i uploaded my laravel project to a cpanel that i can use a command or SSH. I am wondering how i will implement this manually also i have try adding this line of code.
App::make('files')->link(storage_path('app/public'), public_path('storage'));
to AppServiceProvider and i use App. But it generate error. Is there any way around this.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IwGaea
via IFTTT
Aucun commentaire:
Enregistrer un commentaire