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 83fdc7a037c840a88b5833acd4a7878ff4a32d44..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();