Closed Checkumeito closed 3 years ago
At the moment there is no option to disable the Parent Directory
link, no.
What you can do, is to just edit the script yourself. Editing the indexer.php
, you can change this part on what should be line 258
:
$op = sprintf(
'<tr class="parent"><td><a href="%s">[Parent Directory]</a></td><td>-</td><td>-</td><td>-</td></tr>',
dirname($directory)
);
to:
$op = '';
That should remove the link. I'll see if I can maybe add an option in the next release to make this easier, but hopefully this solution will suffice for now.
It is good enough. Thank you for the tip. I forgot completely that I can take a look at the source code and edit it 💯
Hello,
I want to make this script to be a very simple gallery. I organize my folder structure something like this:
When I give people the link to my album, for example, https://eyy/indexer/Gallery/House/, I don't want them to see my other folders in Gallery/, and I can do that by placing a blank index.html in Gallery/.
Is there any way to tell the indexer not to show the link "Parent Directory"?