Commit 8a5cb7f6 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#307636 by zbricoleur, sreynen, quicksketch: fix file identification bug with...

#307636 by zbricoleur, sreynen, quicksketch: fix file identification bug with image file processing on Microsoft IIS
parent fd3611c5
......@@ -114,7 +114,7 @@ function image_toolkit_invoke($method, $params = array()) {
* 'file_size' - File size in bytes.
*/
function image_get_info($file) {
if (!is_file($file)) {
if (!is_file($file) && !is_uploaded_file($filepath)) {
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment