X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=885914171c2e2b7a16e3aa367affe864044e6bfa;hb=736b26c6c54b47ac61c7b1eccc21ac482396037c;hp=b26e6a5ec92f586e4c926a10749097d5a98c19db;hpb=6aaddf00c3c4498fcf079f45c26aebe3a909e45c;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 <<