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 "Get file from WikiFilePage, instead of ImagePage"
[lhc/web/wiklou.git]
/
includes
/
libs
/
HttpStatus.php
diff --git
a/includes/libs/HttpStatus.php
b/includes/libs/HttpStatus.php
index
442298a
..
3d7dee7
100644
(file)
--- a/
includes/libs/HttpStatus.php
+++ b/
includes/libs/HttpStatus.php
@@
-102,7
+102,10
@@
class HttpStatus {
}
if ( $version === null ) {
}
if ( $version === null ) {
- $version = isset( $_SERVER['SERVER_PROTOCOL'] ) && $_SERVER['SERVER_PROTOCOL'] === 'HTTP/1.0' ? '1.0' : '1.1';
+ $version = isset( $_SERVER['SERVER_PROTOCOL'] ) &&
+ $_SERVER['SERVER_PROTOCOL'] === 'HTTP/1.0' ?
+ '1.0' :
+ '1.1';
}
header( "HTTP/$version $code $message" );
}
header( "HTTP/$version $code $message" );