X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=b3b3b889a70aef50030ab3dc886d128afc5d07cf;hb=be25fa6f77aff92f5956a74848d3c8f59651762f;hp=c783fd3344c78b4df4380ad716595385988f8ce3;hpb=5775d5e5c15098da4c1ebc121e678cee95ecaafa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php index c783fd3344..b3b3b889a7 100644 --- a/includes/OutputHandler.php +++ b/includes/OutputHandler.php @@ -164,7 +164,10 @@ function wfMangleFlashPolicy( $s ) { * @param int $length */ function wfDoContentLength( $length ) { - if ( !headers_sent() && isset( $_SERVER['SERVER_PROTOCOL'] ) && $_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.0' ) { + if ( !headers_sent() + && isset( $_SERVER['SERVER_PROTOCOL'] ) + && $_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.0' + ) { header( "Content-Length: $length" ); } }