X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/77a14f71a1fabf39d8b74293a7b9efd27341b1cb..d092b634576730fc2ead1dc4c88711da09415f75:/edit.php diff --git a/edit.php b/edit.php index 28d866b..fe80528 100755 --- a/edit.php +++ b/edit.php @@ -1,4 +1,3 @@ -#!/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";