git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
feffbe2
)
edit: force error page for unknown requests
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 22 Sep 2018 22:54:51 +0000
(
00:54
+0200)
committer
Mischa 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]
patch
|
blob
diff --git a/edit/index.php
b/edit/index.php
new file mode 100644
(file)
index 0000000..
a6a64a2
--- /dev/null
+++ b/
edit/index.php
@@ -0,0
+1,3
@@
+<?php
+ob_clean();
+abort("aanpasdienst onbekend", '404 unknown');