X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/7b8cc4b0de9d5c69f52a36cef7270b66f68100f2..4867902ad83bc343db74316e54058d85627ec5f2:/nieuws.inc.php diff --git a/nieuws.inc.php b/nieuws.inc.php index 25952ef..3d88a26 100644 --- a/nieuws.inc.php +++ b/nieuws.inc.php @@ -43,10 +43,11 @@ function shownews($root, $limit = 5) } } -function printtoc($root) +function printtoc($input) { + if (!is_array($input)) $input = glob("$input/*.html"); print '