mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #30] Hide index files or change the tree view root #17
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#17
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 @str-dst on GitHub (Dec 19, 2017).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/30
As of now you can always see the index.php (or tinyfilemanager.php) file in the treeview.
Is it possible to change the tree root or hide these files?
@str-dst commented on GitHub (Dec 19, 2017):
nevermind :D
changing line 1136 from
echo php_file_tree($_SERVER['DOCUMENT_ROOT'], "javascript:alert('You clicked on [link]');");
to
echo php_file_tree($root_path, "javascript:alert('You clicked on [link]');");
did the trick.