prasathmani / tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager
https://tinyfilemanager.github.io
GNU General Public License v3.0
4.88k stars 1.66k forks source link

Allow hiding files/folders by full path #1092

Open mlocati opened 1 year ago

mlocati commented 1 year ago

At the moment, it's possible to hide files and directories by providing their name or file extension.

That implies that it's not possible to hide a directory /path1/assets but still show /path2/assets, since they share the same name (assets).

What about adding support for hiding specific paths?

For example, with this change, in the config.php file we could have:

$exclude_items = [
    '/path1/assets',
];

and tinyfilemanager would hide /path1/assets while still showing /path2/assets