You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After run php artisan storage:link, a symlink is created in public/storage. But it links to absolute path /home/guo/git/webdev/laravel-test/storage/app/public.
This has several disadvantages:
When you move or rename the project folder, all links broke. You have to delete and recreate them.
It cannot work with both local system and homestead virtual machine.
You cannot add absolute symlink to version control.
You won't have all these issues with relative symlink ../storage/app/public.
The text was updated successfully, but these errors were encountered:
After run
php artisan storage:link
, a symlink is created inpublic/storage
. But it links to absolute path/home/guo/git/webdev/laravel-test/storage/app/public
.This has several disadvantages:
You won't have all these issues with relative symlink
../storage/app/public
.The text was updated successfully, but these errors were encountered: