How to prevent the last dir from being listed in this dir

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
pigeonburger
-


Joined: 17 Sep 2020
Posts: 4

PostPosted: Thu Sep 17, 2020 6:34 am    Post subject: How to prevent the last dir from being listed in this dir Reply with quote

I've used Abyss WS X1 for a few weeks now, and have been working on a custom directory list.

It always lists the directories like this:

../ (takes you back to previous directory)
file1.mp4
file2.docx
file3.mp3

How can I get rid of the ../, that takes me back to the previous directory? Directories themselves don't have MIME types so what can I do to get rid of it? Is it even possible to do that?

Thanks in advance for any help.
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1052

PostPosted: Sun Oct 04, 2020 4:36 pm    Post subject: Re: How to prevent the last dir from being listed in this di Reply with quote

pigeonburger,

In such cases, it is recommended to filter out the unwanted line by using a test in your SSI directives. Please get in touch with us by email for a faster exchange.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 919
Location: Michigan, USA

PostPosted: Mon Oct 05, 2020 3:33 am    Post subject: Reply with quote

You can also use a script if you’ve set up a scripting language interpreter (e.g. PHP) in Abyss.
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group