X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/9de683f8c399ee4a78fbc86b5ee96ce5662acf97..97bc8f54b09859842e53d4886234a3b09122ea71:/page.php diff --git a/page.php b/page.php index c888524..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 'page.inc.php';