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
Fix up php syntax that accidentally became part of a string literal
[lhc/web/wiklou.git]
/
api.php
diff --git
a/api.php
b/api.php
index
6b5a0a0
..
2a6a095
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-104,7
+104,7
@@
if ( $wgAPIRequestLog ) {
wfTimestamp( TS_MW ),
$endtime - $starttime,
$wgRequest->getIP(),
- $
_SERVER['HTTP_USER_AGENT']
+ $
wgRequest->getHeader( 'User-agent' )
);
$items[] = $wgRequest->wasPosted() ? 'POST' : 'GET';
if ( $processor ) {