diff options
-rw-r--r-- | it.class | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -525,11 +525,7 @@ static function imageconvert($p) $p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts']; if (in_array($type, explode(',', $p['types']))) # Valid type? - { $cmdoutput = it::exec('convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); - if (it::match('SHELL ERROR 139', $cmdoutput)) # segmentation fault - copy($p['in'], "/tmp/imageconvert.segfault.in"); - } return $cmdoutput === ""; } |