git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: catch fatal php errors
[minimedit.git]
/
edit.php
diff --git
a/edit.php
b/edit.php
index cf9b6c07e9f79e95ce7830ba1a56e774fd762fd1..2a63bd2d4f865d1fd1c9dba95689ce40e2a15039 100644
(file)
--- a/
edit.php
+++ b/
edit.php
@@
-1,4
+1,6
@@
<?php
+ob_clean();
+
function abort($status, $body) {
header("HTTP/1.1 $status");
print "$body\n";