mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
display login page if there is no images at the tag (URL)
This commit is contained in:
committed by
Pierrick Le Gall
parent
35e7b79d7f
commit
29f938acba
@@ -338,6 +338,15 @@ else
|
||||
|
||||
$items = get_image_ids_for_tags($page['tag_ids']);
|
||||
|
||||
if (count($items) == 0)
|
||||
{
|
||||
$logger->info(
|
||||
'attempt to see the name of the tag #'.implode(', #', $page['tag_ids'])
|
||||
.' from the address : '.$_SERVER['REMOTE_ADDR']
|
||||
);
|
||||
access_denied();
|
||||
}
|
||||
|
||||
$page = array_merge(
|
||||
$page,
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user