aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-09 22:45:52 -0700
committerzotlabs <mike@macgirvin.com>2017-08-09 22:45:52 -0700
commit568690186961d2946543c8320faf5575758acfca (patch)
tree8b7d7a686352befb2918290ad0bc606fa9a1230b /include
parent6531cbd1d286738acb9448b141bf4d7d5f97ccf3 (diff)
downloadvolse-hubzilla-568690186961d2946543c8320faf5575758acfca.tar.gz
volse-hubzilla-568690186961d2946543c8320faf5575758acfca.tar.bz2
volse-hubzilla-568690186961d2946543c8320faf5575758acfca.zip
some doco fixes and other real minor stuff to improve logreading ability
Diffstat (limited to 'include')
-rw-r--r--include/photo/photo_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index f47a9c878..94d0faa94 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -446,7 +446,7 @@ abstract class photo_driver {
*/
function guess_image_type($filename, $headers = '') {
- logger('Photo: guess_image_type: '.$filename . ($headers?' from curl headers':''), LOGGER_DEBUG);
+// logger('Photo: guess_image_type: '.$filename . ($headers?' from curl headers':''), LOGGER_DEBUG);
$type = null;
if ($headers) {
@@ -513,7 +513,7 @@ function guess_image_type($filename, $headers = '') {
}
}
- logger('Photo: guess_image_type: type = ' . $type, LOGGER_DEBUG);
+ logger('Photo: guess_image_type: filename = ' . $filename . ' type = ' . $type, LOGGER_DEBUG);
return $type;
}