barryvdh / laravel-elfinder

elFinder bundle for Laravel
738 stars 169 forks source link

Incorrect path #296

Open kak2z7702 opened 3 years ago

kak2z7702 commented 3 years ago

Hey. I ask for help, I can not solve the problem.

  1. I have S3 storage.
  2. I upload the file test.txt to the root of S3 storage
  3. I get the path /s3/test.txt
  4. I save to db "/s3/test.txt"
  5. I create a link to a file (Storage::url()) "https://s3.****************/s3/test.txt"
  6. But my file is in the root of the storage "https://s3.****************/test.txt"
  7. How to remove "/s3" from the path to the file that is saving to the database? Thank you.
dmarcos89 commented 3 years ago

Hey, i got this same problem when using S3 and couldn't figure it out yet. Were you able to solve it? Thanks in advance!