X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/c3764fe0c2916d8d48a5da38d39b224d731ff732..97bc8f54b09859842e53d4886234a3b09122ea71:/page.php diff --git a/page.php b/page.php index 51ef900..f6088dd 100644 --- a/page.php +++ b/page.php @@ -2,6 +2,9 @@ error_reporting(E_ALL); ini_set('display_errors', TRUE); +include_once 'auth.inc.php'; +$Edit = isset($_GET['edit']); + $Args = ''; $Page = preg_replace('/\?.*/', '', $_SERVER['REQUEST_URI']); $Page = urldecode(trim($Page, '/')) ?: 'index'; @@ -29,6 +32,4 @@ while (TRUE) { $Page = substr($Page, 0, $up); } -$Edit = isset($_GET['edit']); - -include 'head.inc.php'; +include 'page.inc.php';