X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/251616969893b447852aad81a4e68be6853e202e..bb34842b36ded0bbe7e6f51294ad3d20c8d470da:/edit/foto/cover/index.php diff --git a/edit/foto/cover/index.php b/edit/foto/cover/index.php index 3ae5dcf..2558e10 100644 --- a/edit/foto/cover/index.php +++ b/edit/foto/cover/index.php @@ -1,7 +1,5 @@ admin('foto')) { +if (!$User->admin('foto')) { http_response_code(403); print "Beheerrechten verplicht voor instellen van covers\n"; exit; @@ -31,3 +29,4 @@ if (isset($_GET['img'])) { $album = pathinfo($rootdir); header("Location: /{$album['dirname']}#{$album['basename']}"); http_response_code(302); +exit;