git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: article index on sitemap request
[minimedit.git]
/
foto
/
index.php
diff --git
a/foto/index.php
b/foto/index.php
index c2cc95c730a37361bc82143085340dc8593df233..1e973c786c14855a2c56b998de5db72f4b9359b0 100644
(file)
--- a/
foto/index.php
+++ b/
foto/index.php
@@
-12,6
+12,9
@@
if (!$User) {
# cover image of current album
$Page->image = "/$img";
}
+ if (!$Page->path) {
+ return glob("$rootdir/*", GLOB_ONLYDIR); #TODO: recurse
+ }
return;
}