X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/ee9702f9ff640f0108e52490d256c789acb09433..217f7dc706236f1edbff198893b54f3518742879:/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