mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #1055] $root_path / $root_url for Beginners #676
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MGPhil on GitHub (Jun 11, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1055
Hello, I checked all issues and tested different combinations but cannot get the open and link button to show the right path...
Everything else works like it should...great tool by the way!
I put tinyfilemanger.php inside a subfolder in my main http directory "webpage" called "filebrowser".
The $_SERVER['DOCUMENT_ROOT'] echos as "/data/web/e00000/html/webpage"
Inside webpage is the folder "filebrowser" with the folders "assets" and "Files" and the tinyfilemanger.php
Inside the folder "Files" are all the files to be shared and uploaded.
User and Admin were set to "/data/web/e00000/html/webpage/filebrowser/Files" under $directories_users.
That works like intended only that folder is visible and uploads go right there.
But when I now click on preview or the link to file button the link looks like:
https://www.webpage.com/filebrowser/data/web/e00000/html/webpage/filebrowser/Files/file.pdf
How can I remove "data/web/e00000/html/webpage/filebrowser/" from the link so that the link looks like:
"https://www.webpage.com/filebrowser/Files/file.pdf"
Thanks a lot
@MGPhil commented on GitHub (Jun 28, 2023):
Can nobody help? Still missing a solution, thanks.
@jolz commented on GitHub (Nov 1, 2023):
Not shure about your setup. You should have something like
Hope this helps.
@MGPhil commented on GitHub (Nov 15, 2023):
Unfortunately not, still "data/web/e00000/html/webpage/filebrowser/" is in the link to each file...
@MGPhil commented on GitHub (Nov 15, 2023):
Ok, now I tried a different $directories_users + $root_path combination and got it to work! Thanks for the help!