Hi there,
Here is a patch against 0.9.6 where in config.inc.php you can specify to hide some directories from showing up in listings, but allowing them to be browsed if given the complete URL:
http://www.morch.com/misc/phpAutoGallery/phpAutoGallery-0.9.6.suppressHiddenDirs.patch
If enabled, the default is to hide directories matching /^\./, or in other words, beginning with character '.' as used in Unix to mean 'hidden dirs'.
See http://www.morch.com/gallery/ where there is no mention of http://www.morch.com/gallery/.hidden, but also see that http://www.morch.com/gallery/.hidden in fact is browsable. That way "hidden", "secret" or "private" subdirectories can be created.
Peter
Log in to post a comment.
Hi there,
Here is a patch against 0.9.6 where in config.inc.php you can specify to hide some directories from showing up in listings, but allowing them to be browsed if given the complete URL:
http://www.morch.com/misc/phpAutoGallery/phpAutoGallery-0.9.6.suppressHiddenDirs.patch
If enabled, the default is to hide directories matching /^\./, or in other words, beginning with character '.' as used in Unix to mean 'hidden dirs'.
See http://www.morch.com/gallery/ where there is no mention of http://www.morch.com/gallery/.hidden, but also see that http://www.morch.com/gallery/.hidden in fact is browsable. That way "hidden", "secret" or "private" subdirectories can be created.
Peter