I'm not quite sure what the question is. Files gallery is a file viewer, and it will read ALL (maximum emphasis) files under your root folder.
... which of course means it will DISPLAY all files in your thanksgiving
dir. Why would it not? It will also display the index.php
file you have there ... Files gallery does not know that you are dropping Files own index.php
in recursive folders. What behavior are you expecting? Your logic is unreasonable.
Besides, why drop multiple Files index.php
in recursive folders? You can already browse ALL folders from the topmost Files gallery index.php
. If you (for some reason) want to drop index.php
in subfolders, then they will of course display in the file system of Files gallery that displays parent folders.
As I already told you in my last response, there is an option files_exclude that can be used to exclude certain files, for example all files named index.php
.
You need to sort out your logic. If you have dropped Files gallery index.php
into another folder that Files is displaying, then that file will of course be exposed (like ANY file).