diff options
-rw-r--r-- | admin/include/image.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 8aa55b307..60911b39f 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -622,13 +622,15 @@ class image_ext_imagick implements imageInterface } $dest = pathinfo($destination_filepath); - $exec .= ' "'.realpath($dest['dirname']).'/'.$dest['basename'].'"'; + $exec .= ' "'.realpath($dest['dirname']).'/'.$dest['basename'].'" 2>&1'; @exec($exec, $returnarray); ilog($exec); if (is_array($returnarray) && (count($returnarray)>0) ) { ilog('ERROR', $returnarray); + foreach($returnarray as $line) + trigger_error($line, E_USER_WARNING); } return is_array($returnarray); } |