mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #59] Add opportunity to hide tinyfilemanager.php file in file overview #41
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#41
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 @John-H-Smith on GitHub (Sep 7, 2018).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/59
Hi, would be great to add an opportunity to hide the tinyfilemanager.php in the overview, so you can't delete them from it's own code.
@ruanpetterson commented on GitHub (Sep 10, 2018):
My suggestion to hide the
tinyfilemanager.phpis the same of this answer.And, to avoid an accidental or intentional delete, we can use Linux
chattr. A simple command likechattr +ai tinyfilemanager.php. The only inconvenience is change the file attributes in every single modification on$auth_usersarray inside the file.@alecos71 commented on GitHub (Oct 13, 2018):
and the other people who changed the filemanager's name? In my opinion this request is completely useless ... it could make the file hidden by changing the permissions but this would also affect the other hidden files ... as .htaccess ...
@prasathmani commented on GitHub (Oct 18, 2018):
Now can hide files and folders using
exclude_itemsi.e.
$GLOBALS['exclude_items'] = array('FileName.ext', 'FolderName');