aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-10 09:40:02 +0200
committergit-marijus <mario@mariovavti.com>2017-08-10 09:40:02 +0200
commitd1c7e789902a09b1ebdd9ae2e388a18f92467e43 (patch)
tree49ea423e4a22e5516431aa12d8bf6f7679bede33 /include/photo/photo_driver.php
parent09da109ebaf1b5f287db7065eaee5026b0a88eb1 (diff)
parent0a96cdd950f30974fe0fecf60b214701673dad86 (diff)
downloadvolse-hubzilla-d1c7e789902a09b1ebdd9ae2e388a18f92467e43.tar.gz
volse-hubzilla-d1c7e789902a09b1ebdd9ae2e388a18f92467e43.tar.bz2
volse-hubzilla-d1c7e789902a09b1ebdd9ae2e388a18f92467e43.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/photo/photo_driver.php')
-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;
}