git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: resolve include path for placeholder names
[minimedit.git]
/
nieuws.php
diff --git
a/nieuws.php
b/nieuws.php
index cafc94c6795a25ec866ee06c04fa689000c64e42..fda142e62c50985599785298f8d1bb1be22077ae 100644
(file)
--- a/
nieuws.php
+++ b/
nieuws.php
@@
-1,4
+1,6
@@
<?php
include_once 'nieuws.inc.php';
<?php
include_once 'nieuws.inc.php';
-$articles = ($Page ?: 'nieuws') . '/????';
-shownews($articles, @$_GET['n'] ?: 5);
+$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
+ob_start();
+shownews($articles, @$Place['n'] ?: 5);
+print getoutput();