X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/3f78a38cb23e2bb2609e010f0d3b4dce2d3c1727..8c48d7e676efc23118ce2631642126c869ce4efb:/foot.inc.php
diff --git a/foot.inc.php b/foot.inc.php
index d2ba826..a7f52d6 100755
--- a/foot.inc.php
+++ b/foot.inc.php
@@ -1,36 +1,31 @@
-
'.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;
}
-?>