diff options
author | friendica <info@friendica.com> | 2012-10-17 16:18:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-17 16:18:36 -0700 |
commit | a680eb3a73710eb38fc6e77fb79d017f4a20c6a5 (patch) | |
tree | f6dd2a08b359fe1a79a61881df84572d3f6a850e /include | |
parent | cdeb43f987862a3955700c6ac7b3b84231e5e062 (diff) | |
download | volse-hubzilla-a680eb3a73710eb38fc6e77fb79d017f4a20c6a5.tar.gz volse-hubzilla-a680eb3a73710eb38fc6e77fb79d017f4a20c6a5.tar.bz2 volse-hubzilla-a680eb3a73710eb38fc6e77fb79d017f4a20c6a5.zip |
output queue (merges the old deliverq and queue and adds some zotness)
Diffstat (limited to 'include')
-rw-r--r-- | include/Photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Photo.php b/include/Photo.php index d5cbb8d24..819f86059 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -622,7 +622,7 @@ function guess_image_type($filename, $fromcurl=false) { } if (is_null($type)){ // Guessing from extension? Isn't that... dangerous? - if(class_exists('Imagick')) { + if(class_exists('Imagick') && file_exists($filename) && is_readable($filename)) { /** * Well, this not much better, * but at least it comes from the data inside the image, |