nieuws: replace placeholders in article contents
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 7 Aug 2018 01:26:56 +0000 (03:26 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 7 Aug 2018 01:50:11 +0000 (03:50 +0200)
Support contact form include.

nieuws.php

index 6bf66160fa594a6c56d24da89b3eaf93a176adc0..fda142e62c50985599785298f8d1bb1be22077ae 100644 (file)
@@ -1,4 +1,6 @@
 <?php
 include_once 'nieuws.inc.php';
 $articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
+ob_start();
 shownews($articles, @$Place['n'] ?: 5);
+print getoutput();