diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-01-07 19:29:50 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-01-07 19:29:50 +0000 |
commit | b4e64655afc6279d7c64a952ee5f43fe65751c19 (patch) | |
tree | fb667315163845595d79bba9f9b9a183d24b63cc /phpBB/includes/functions_posting.php | |
parent | 2928574ed46334bb8dbbb6612a62db3c3654ba12 (diff) | |
download | forums-b4e64655afc6279d7c64a952ee5f43fe65751c19.tar forums-b4e64655afc6279d7c64a952ee5f43fe65751c19.tar.gz forums-b4e64655afc6279d7c64a952ee5f43fe65751c19.tar.bz2 forums-b4e64655afc6279d7c64a952ee5f43fe65751c19.tar.xz forums-b4e64655afc6279d7c64a952ee5f43fe65751c19.zip |
grr
git-svn-id: file:///svn/phpbb/trunk@8314 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 664ed7dd27..143027d795 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -618,9 +618,9 @@ function create_thumbnail($source, $destination, $mimetype) // Only use imagemagick if defined and the passthru function not disabled if ($config['img_imagick'] && function_exists('passthru')) { - if (substr($config['img_magick'], -1) !== '/') + if (substr($config['img_imagick'], -1) !== '/') { - $config['img_magick'] .= '/'; + $config['img_imagick'] .= '/'; } @passthru(escapeshellcmd($config['img_imagick']) . 'convert' . ((defined('PHP_OS') && preg_match('#^win#i', PHP_OS)) ? '.exe' : '') . ' -quality 85 -antialias -sample ' . $new_width . 'x' . $new_height . ' "' . str_replace('\\', '/', $source) . '" +profile "*" "' . str_replace('\\', '/', $destination) . '"'); |