Browse Source

syntax error in last commit

pull/40/head
Michael Foster 11 years ago
parent
commit
d99eba2c18
  1. 2
      inc/image.php

2
inc/image.php

@ -286,7 +286,7 @@ class ImageConvert extends ImageBase {
if ($this->gifsicle) {
if (trim(shell_exec("gifsicle --unoptimize -O2 --resize {$this->width}x{$this->height} < " .
escapeshellarg($this->src . '') . " \"#0-{$config['thumb_keep_animation_frames']}\" > " .
escapeshellarg($this->temp) . ';echo $?' !== '0') || !file_exists($this->temp))
escapeshellarg($this->temp) . ';echo $?') !== '0') || !file_exists($this->temp))
error('Failed to resize image!');
} else {
if (trim(shell_exec('convert ' . sprintf($config['convert_args'], $this->width, $this->height) . ' ' .

Loading…
Cancel
Save