page: restore error display in page includes
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Sep 2017 15:41:40 +0000 (17:41 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 18 Sep 2017 18:21:28 +0000 (20:21 +0200)
Successful executions should not be silenced.

page.php

index 02886a77a04d88faac98d30f7b7570a1a23ba375..5efccbcd06b92d9cad6a80fad6ab996b10d7d7f3 100644 (file)
--- a/page.php
+++ b/page.php
@@ -104,7 +104,7 @@ print "</div>\n\n";
 # execute dynamic code
 
 if ($Page) {
-       $found |= @require "./$Page.php";
+       $found |= require "./$Page.php";
 }
 
 # global html