dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "tiny optimization Title::isValidRedirectTarget()"
[lhc/web/wiklou.git]
/
img_auth.php
diff --git
a/img_auth.php
b/img_auth.php
index
b26e6a5
..
8859141
100644
(file)
--- 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 <<<ENDS