X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=765838bd1fb634c877c8040d8f5cdd048813d51f;hb=0998c41943459bec74b95397976f6fed25b99c4a;hp=e6b0fd33235e28ab9c73d925abd3f722ccacfe37;hpb=ca534d7032add1c6c6d4a1c8f93505199c0c9fa3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index e6b0fd3323..765838bd1f 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1152,11 +1152,11 @@ abstract class Installer { return chr( 0xC0 | $c >> 6 ) . chr( 0x80 | $c & 0x3F ); } elseif ( $c <= 0xFFFF ) { return chr( 0xE0 | $c >> 12 ) . chr( 0x80 | $c >> 6 & 0x3F ) - . chr( 0x80 | $c & 0x3F ); + . chr( 0x80 | $c & 0x3F ); } elseif ( $c <= 0x10FFFF ) { return chr( 0xF0 | $c >> 18 ) . chr( 0x80 | $c >> 12 & 0x3F ) - . chr( 0x80 | $c >> 6 & 0x3F ) - . chr( 0x80 | $c & 0x3F ); + . chr( 0x80 | $c >> 6 & 0x3F ) + . chr( 0x80 | $c & 0x3F ); } else { return false; } @@ -1744,7 +1744,7 @@ abstract class Installer { $GLOBALS['wgMaxShellMemory'] = 0; // Don't bother embedding images into generated CSS, which is not cached - $GLOBALS['wgResourceLoaderLESSFunctions']['embeddable'] = function( $frame, $less ) { + $GLOBALS['wgResourceLoaderLESSFunctions']['embeddable'] = function ( $frame, $less ) { return $less->toBool( false ); }; }