We tried to add a file without an extension (named for example “ted”) to our directory being served by Easy folder listing pro. Unfortunately on the web site display this file name was translated to .ed. Anyone know why or how to stop this? The rest of the files look great, and we like the product.
@ howardlander. Thanks for your question. However, it is really strange to have a file on a web server without a file extension. I can’t tell you why it is translated to .ed, but I can tell you that Easy Folder Listing Pro doesn’t change files or their info. It uses Joomla’s JFolder::folders and JFolder::files to get the file and info. So, it is possible that the Joomla PHP library is translating it.
I suggest that you should give every file its proper extension. If it is a text file, give it.txt. If it is an image, give it the relevant image extension. There is really no reasonable reason to not hide a file’s extension, especially on a web server. If you don’t want the file to be listed, then include it in the exfiles list in the Plugin manager.
Hope this helps.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Files without extension’ is closed to new replies.