X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=img_auth.php;h=885914171c2e2b7a16e3aa367affe864044e6bfa;hp=b26e6a5ec92f586e4c926a10749097d5a98c19db;hb=4dc3ac1c375b3d2eb6172dfef8fdebe71b8c5f43;hpb=9127d9ea9d2183a68699d46ffa088fd2c52c6431 diff --git a/img_auth.php b/img_auth.php index b26e6a5ec9..885914171c 100644 --- a/img_auth.php +++ b/img_auth.php @@ -195,7 +195,7 @@ function wfForbidden( $msg1, $msg2 ) { wfMessage( $msg2, $args )->inLanguage( 'en' )->text() ); - header( 'HTTP/1.0 403 Forbidden' ); + HttpStatus::header( 403 ); header( 'Cache-Control: no-cache' ); header( 'Content-Type: text/html; charset=utf-8' ); echo <<