aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-08-10 08:09:02 +0200
committerMario Vavti <mario@mariovavti.com>2017-08-10 08:09:02 +0200
commit0a96cdd950f30974fe0fecf60b214701673dad86 (patch)
treee7ee642601cd4fd980ca6bd2a038d742c77b4369 /include/photo/photo_driver.php
parent8ab3a4ebd7fd25fe4b01e92c8d2f4507b0c6ff3d (diff)
downloadvolse-hubzilla-0a96cdd950f30974fe0fecf60b214701673dad86.tar.gz
volse-hubzilla-0a96cdd950f30974fe0fecf60b214701673dad86.tar.bz2
volse-hubzilla-0a96cdd950f30974fe0fecf60b214701673dad86.zip
merge red/master 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;
}