edit: force error page for unknown requests
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 22 Sep 2018 22:54:51 +0000 (00:54 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 22 Sep 2018 22:54:51 +0000 (00:54 +0200)
Subdirectory should be used for scripting so avoid new page template,
always report a 404 text response to ensure fatal exceptions.

edit/index.php [new file with mode: 0644]

diff --git a/edit/index.php b/edit/index.php
new file mode 100644 (file)
index 0000000..a6a64a2
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+ob_clean();
+abort("aanpasdienst onbekend", '404 unknown');