X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FHttpStatus.php;h=27f872857c0d4bf0c21f0cef934f987d7de9c100;hb=7320a9577e882fbeacb1772977fbfecf8aa5424d;hp=72fc33386935716ec0b7afaaaf4f55de15dd9e16;hpb=a5be382adfdad4678eec18413c6a118cb3284daf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/HttpStatus.php b/includes/libs/HttpStatus.php index 72fc333869..27f872857c 100644 --- a/includes/libs/HttpStatus.php +++ b/includes/libs/HttpStatus.php @@ -101,6 +101,7 @@ class HttpStatus { return false; } + MediaWiki\HeaderCallback::warnIfHeadersSent(); if ( $version === null ) { $version = isset( $_SERVER['SERVER_PROTOCOL'] ) && $_SERVER['SERVER_PROTOCOL'] === 'HTTP/1.0' ?