The folder name 0 is an error
amwps The folder name 0 is an error
I tried here. The folder works, but it displays as empty in the main menu. Do you get anything different?
Karl You try, https://demo.files.gallery/?0
amwps You try, https://demo.files.gallery/?0
I will look into it.
Seems it's ok if there is subfolder/0, but if 0 is in the root dir, it can't differentiate the root dir and the 0 dir. Thanks for reporting.
subfolder/0
0
This has now been resolved, and will be available in a new release coming shortly.
The problem is that PHP evaluates "0" as false, and therefore the basename is considered empty. It required some workarounds to specifically check if the folder name === '0'. softwareengineering.stackexchange.com/questions/338411/why-php-treats-0-as-false-in-boolean-contexts
"0"