X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Fdev%2Fincludes%2Frouter.php;h=bb600bf92fba667990f87a31f7c74eebe304215a;hp=1f34b5aae5b7ad691a7772f8b75b744f99584936;hb=424eb75d77f7a7513cd59083198f5b3a407a8715;hpb=06aaf493e12f998784c7c9294e8533d979623308 diff --git a/maintenance/dev/includes/router.php b/maintenance/dev/includes/router.php index 1f34b5aae5..bb600bf92f 100644 --- a/maintenance/dev/includes/router.php +++ b/maintenance/dev/includes/router.php @@ -1,7 +1,7 @@ + strlen( $content ) > 150 + ) { + $content = gzencode( $content, 9 ); + header( 'Content-Encoding: gzip' ); + } + header( "Content-Length: " . strlen( $content ) ); + echo $content; return true; }