X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/8697e69e3aefdb3c0ef9faba8bbd2938fa815685..251616969893b447852aad81a4e68be6853e202e:/foto/index.php diff --git a/foto/index.php b/foto/index.php index 358ef94..550e7a3 100644 --- a/foto/index.php +++ b/foto/index.php @@ -3,7 +3,7 @@ $intro = ob_get_clean(); $rootdir = $Page . $Args; -if ($User and $User->admin) { +if ($User and $User->admin('foto')) { $access = '🔓 Openbaar'; if (isset($PageAccess)) { $access = "🔒 Bewoners";