From: Shinjiman Date: Sat, 27 Jun 2009 09:01:47 +0000 (+0000) Subject: fix for r52476, include the cases with quotation marks. X-Git-Tag: 1.31.0-rc.0~41194 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=81cbeaff46098a6ef1af691c06bf2531bc4dcf2f;p=lhc%2Fweb%2Fwiklou.git fix for r52476, include the cases with quotation marks. --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 4a12d57dbe..1563d65f51 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -113,7 +113,7 @@ class SpecialVersion extends SpecialPage { // Look for ImageMagick's version, if did not found, try to find the GD library version if ( $wgUseImageMagick === true ) { - if ( file_exists( $wgImageMagickConvertCommand ) ) { + if ( file_exists( trim( $wgImageMagickConvertCommand, '"' ) ) ) { $swImageMagickInfo = self::execOutput( $wgImageMagickConvertCommand . ' -version' ); list( $head, $tail ) = explode( 'ImageMagick', $swImageMagickInfo ); list( $swImageMagickVer ) = explode('http://www.imagemagick.org', $tail );