X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/9de683f8c399ee4a78fbc86b5ee96ce5662acf97..97bc8f54b09859842e53d4886234a3b09122ea71:/edit.php diff --git a/edit.php b/edit.php index fe80528..01d83df 100755 --- a/edit.php +++ b/edit.php @@ -5,8 +5,7 @@ function abort($status, $body) { exit; } -require 'auth.inc.php'; -if (!$Admin) +if (!$User['admin']) abort('401 unauthorised', "geen beheersrechten"); if (!$_POST)