Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -113,7 +113,7 @@ |
114 | 114 | |
115 | 115 | // Look for ImageMagick's version, if did not found, try to find the GD library version |
116 | 116 | if ( $wgUseImageMagick === true ) { |
117 | | - if ( file_exists( $wgImageMagickConvertCommand ) ) { |
| 117 | + if ( file_exists( trim( $wgImageMagickConvertCommand, '"' ) ) ) { |
118 | 118 | $swImageMagickInfo = self::execOutput( $wgImageMagickConvertCommand . ' -version' ); |
119 | 119 | list( $head, $tail ) = explode( 'ImageMagick', $swImageMagickInfo ); |
120 | 120 | list( $swImageMagickVer ) = explode('http://www.imagemagick.org', $tail ); |