X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/3f78a38cb23e2bb2609e010f0d3b4dce2d3c1727..d092b634576730fc2ead1dc4c88711da09415f75:/foot.inc.php
diff --git a/foot.inc.php b/foot.inc.php
index d2ba826..e3e36b6 100755
--- a/foot.inc.php
+++ b/foot.inc.php
@@ -1,31 +1,28 @@
-
'.N;
+ echo ''.N;
+ if ($notfound) {
+ echo <<<'EOT'
EOT;
-}
-
-define('N', "\n");
-
-$editable = FALSE; // "Beheer toegestaan voor {$_SERVER['REMOTE_ADDR']}:";
-
-$curfile = ltrim($_SERVER['SCRIPT_NAME'], '/');
-if (is_executable(__DIR__ . '/' . $curfile)) {
- // dynamic code is +x
- $editable = FALSE;
-}
+ }
+ }
-if ($editable) {
echo ''.N;
}
-?>