X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=885914171c2e2b7a16e3aa367affe864044e6bfa;hb=d7021c077da8b69d5e4422d1a5c14d86978fd6b6;hp=b26e6a5ec92f586e4c926a10749097d5a98c19db;hpb=c3f5ee0973fba27bab9a50f83eb637de72f7c659;p=lhc%2Fweb%2Fwiklou.git 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 <<