page: localise page variables within template includes
[minimedit.git] / nieuws.php
index cafc94c6795a25ec866ee06c04fa689000c64e42..6bf66160fa594a6c56d24da89b3eaf93a176adc0 100644 (file)
@@ -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);