X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/c4fa1474e03efe927dd099b4872a46c3048c7937..7333dc046075c7873b15643ecd73f6e3b32c7a79:/edit.php diff --git a/edit.php b/edit.php index 80a49eb..2a63bd2 100644 --- a/edit.php +++ b/edit.php @@ -1,19 +1,25 @@ -#!/usr/bin/php-cgi '."\n\n"; -$append = "\n".''."\n"; - -if (!file_put_contents($filename, $prepend . $upload . $append)) +if (!file_put_contents($filename, $upload)) abort('500 save error', "fout bij schrijven van $filename"); print "Bestand opgeslagen";