X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/19cde41f182998a36cdac76d530881aaea24c719..c3764fe0c2916d8d48a5da38d39b224d731ff732:/page.php diff --git a/page.php b/page.php index 5d79cf6..51ef900 100644 --- a/page.php +++ b/page.php @@ -16,7 +16,7 @@ while (TRUE) { if (file_exists("$Page.php")) { # unformatted script override require "$Page.php"; - break; + exit; } $up = strrpos($Page, '/'); @@ -29,4 +29,6 @@ while (TRUE) { $Page = substr($Page, 0, $up); } +$Edit = isset($_GET['edit']); + include 'head.inc.php';