git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
login/post: ignore ?login override for non user admins
[minimedit.git]
/
article.inc.php
diff --git
a/article.inc.php
b/article.inc.php
index a39b8971c3546cc236a84fbd63b44571de780064..6fcb640dc5e8ee2f857999010fc693814a738557 100644
(file)
--- a/
article.inc.php
+++ b/
article.inc.php
@@
-159,7
+159,7
@@
class PageSearch
}
# match **/*.html
return $current->isDir()
- || preg_match('/\.html$/', $current->getFilename());
+ || preg_match('/
(?<!\.inc)
\.html$/', $current->getFilename());
}
);
}