page: prepare static output before dynamic code
[minimedit.git] / 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";