git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: find article image to append on page
[minimedit.git]
/
nieuws.php
diff --git
a/nieuws.php
b/nieuws.php
index 83fdc7a037c840a88b5833acd4a7878ff4a32d44..6bf66160fa594a6c56d24da89b3eaf93a176adc0 100644
(file)
--- a/
nieuws.php
+++ b/
nieuws.php
@@
-1,4
+1,4
@@
<?php
include_once 'nieuws.inc.php';
-$articles = (
$Page ?: 'nieuws') . '/????/
??';
-shownews($articles, @$
_GET
['n'] ?: 5);
+$articles = (
ltrim($Args, '/') ?: 'nieuws') . '/??
??';
+shownews($articles, @$
Place
['n'] ?: 5);