X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/41811556ca2ca3ca29191bee012c35e5f40a3995..6413bd827c1245654f5cef0198ba5bb69a5f3863:/login/index.php diff --git a/login/index.php b/login/index.php index 5cfbded..66cb0c9 100644 --- a/login/index.php +++ b/login/index.php @@ -36,7 +36,6 @@ elseif (isset($_GET['logout'])) { } if (empty($User)) { - ob_clean(); require_once 'login/form.inc.php'; $Place['warn'] = $message; $Article->title = 'Inloggen'; @@ -47,18 +46,21 @@ if (empty($User)) { $Article->title .= ' voor ' . $target->title; } } - return TRUE; + return; } if (isset($_REQUEST['goto'])) { - ob_clean(); $target = ltrim($_REQUEST['goto'], '/'); header("Location: /$target"); http_response_code(302); exit; } +if (isset($Article->raw)) { + print $Article->raw; +} if (empty($Args) and $User and $User->admin) { include_once 'login/admin.html'; } +return;