X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/c4a26421caba8b697d9aa197bb2a5c55b7e2c5ff..da2d6e5537e9fdcd6f424ea1cc8ab6ef8f45727e:/foto/index.php diff --git a/foto/index.php b/foto/index.php index 7df1d5c..a6378ef 100644 --- a/foto/index.php +++ b/foto/index.php @@ -6,7 +6,7 @@ $nav[0] = "Foto's"; # override of root 'foto' $title = array_pop($nav); $Page->title = ($nav ? implode(' ', $nav) . ': ' : '') . $title; -if (!$User) { +if ($Page->api) { $img = "$rootdir/index.jpg"; if (file_exists($img)) { # cover image of current album