git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edit/head: optional admin stylesheet for editor overrides
[minimedit.git]
/
foto
/
index.php
diff --git
a/foto/index.php
b/foto/index.php
index c2cc95c730a37361bc82143085340dc8593df233..7df1d5c26daa1c27ed9efda43531f6997fe96d4e 100644
(file)
--- a/
foto/index.php
+++ b/
foto/index.php
@@
-12,6
+12,11
@@
if (!$User) {
# cover image of current album
$Page->image = "/$img";
}
# cover image of current album
$Page->image = "/$img";
}
+ if (!$Page->path) {
+ return array_map(function ($dir) {
+ return new ArchiveArticle($dir . '/index.html');
+ }, glob("$rootdir/*", GLOB_ONLYDIR)); #TODO: recurse
+ }
return;
}
return;
}