X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FXCF.php;h=e77d3842296e53c49d251b4b14c7903c91d32dda;hb=a98cef2118b38384278d2d0d0ae8f0f11799be61;hp=ba38d1588f052ba8d11e18be7160e0015bb5c4c9;hpb=6bc4c21ed1914abe31507fa132909e7f947e6075;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/XCF.php b/includes/media/XCF.php index ba38d1588f..e77d384229 100644 --- a/includes/media/XCF.php +++ b/includes/media/XCF.php @@ -78,7 +78,7 @@ class XCFHandler extends BitmapHandler { static function getXCFMetaData( $filename ) { # Decode master structure $f = fopen( $filename, 'rb' ); - if( !$f ) { + if ( !$f ) { return false; } # The image structure always starts at offset 0 in the XCF file. @@ -110,12 +110,12 @@ class XCFHandler extends BitmapHandler { . "/Nbase_type" # / , $binaryHeader ); - } catch( MWException $mwe ) { + } catch ( MWException $mwe ) { return false; } # Check values - if( $header['magic'] !== 'gimp xcf' ) { + if ( $header['magic'] !== 'gimp xcf' ) { wfDebug( __METHOD__ . " '$filename' has invalid magic signature.\n" ); return false; }