edit: drop php shebangs
[minimedit.git] / edit.php
old mode 100755 (executable)
new mode 100644 (file)
index 28d866b..5790696
--- a/edit.php
+++ b/edit.php
@@ -1,4 +1,3 @@
-#!/usr/bin/php-cgi
 <?php
 function abort($status, $body) {
        header("HTTP/1.1 $status");
@@ -28,8 +27,8 @@ if (!strlen($upload)) {
        exit;
 }
 
-$prepend = '<!--#include virtual="/common.html" -->'."\n\n";
-$append  = "\n".'<!--#include virtual="/footer.html" -->'."\n";
+$prepend = '<!--#include virtual="/head.inc.html" -->'."\n\n";
+$append  = "\n".'<!--#include virtual="/foot.inc.html" -->'."\n";
 
 if (!file_put_contents($filename, $prepend . $upload . $append))
        abort('500 save error', "fout bij schrijven van $filename");