aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-12 15:10:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-12 15:10:43 +0000
commitf5cabf864c7bf29f5415a1ed315dc08b35f759c2 (patch)
tree95d5b785cdf2fd71096a21b91efef58068bcc161 /phpBB/includes/functions_posting.php
parentef71892edd1bb6b4e06fa207172ba8a3ee5f40b3 (diff)
downloadforums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.gz
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.bz2
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.xz
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.zip
bugfixes
git-svn-id: file:///svn/phpbb/trunk@6275 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index da3931d371..b40fdb369c 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -533,7 +533,7 @@ function create_thumbnail($source, $destination, $mimetype)
// Only use imagemagick if defined and the passthru function not disabled
if ($config['img_imagick'] && function_exists('passthru'))
{
- 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) . '"');
+ 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) . '"');
if (file_exists($destination))
{
$used_imagick = true;