git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
issue: link open count to filtered page
[minimedit.git]
/
widget
/
doclist.php
diff --git
a/widget/doclist.php
b/widget/doclist.php
index 123271bf63e024bd1292dc9253234b4782f364b6..e0751b0df77b1c593189c860ba4c824cfca64911 100644
(file)
--- a/
widget/doclist.php
+++ b/
widget/doclist.php
@@
-13,7
+13,7
@@
foreach (glob("{$Page->link}/2*") as $url) {
if (!isset($cal[$group][$date])) {
$cal[$group][$date] = [];
}
- if (
!is_dir($url) and
filesize($url)) {
+ if (
is_dir($url) ? file_exists("$url/index.html") :
filesize($url)) {
$cal[$group][$date][$suffix] = $link;
}
}