aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/photo.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/photo.php b/mod/photo.php
index 8c407054b..fffc15e53 100644
--- a/mod/photo.php
+++ b/mod/photo.php
@@ -118,6 +118,9 @@ function photo_init(&$a) {
intval($resolution)
);
if($r) {
+ logger('mod_photo: forbidden. ' . $a->query_string());
+ $observer = $a->get_observer();
+ logger('mod_photo: observer = ' . (($observer) ? $observer['xchan_addr'] : '(not authenticated)'));
$data = file_get_contents('images/nosign.png');
$mimetype = 'image/jpeg';
$prvcachecontrol = true;