diff options
author | friendica <info@friendica.com> | 2013-07-21 19:56:57 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-21 19:56:57 -0700 |
commit | e9d899f737ece4c98e479f7653568bb086e689cc (patch) | |
tree | 88a6d6d01072f4199c101a91716a04f678da512b | |
parent | a2738389edb721e9932240072e3ebd8e8139d5e0 (diff) | |
download | volse-hubzilla-e9d899f737ece4c98e479f7653568bb086e689cc.tar.gz volse-hubzilla-e9d899f737ece4c98e479f7653568bb086e689cc.tar.bz2 volse-hubzilla-e9d899f737ece4c98e479f7653568bb086e689cc.zip |
log forbidden photos with complete URL and observer webbie (if available).
-rw-r--r-- | mod/photo.php | 3 |
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; |