X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/599086fed1782cf7af74d7745dc3808c4e2ad24a..61170ad9e7bd42ea74fed5d5fe5b7227e28a0cc2:/edit.php diff --git a/edit.php b/edit.php index 80a49eb..01d83df 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";