dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846d677
)
Use the variable I introduced, maybe?
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 27 Mar 2007 02:50:23 +0000
(
02:50
+0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 27 Mar 2007 02:50:23 +0000
(
02:50
+0000)
includes/Metadata.php
patch
|
blob
|
history
diff --git
a/includes/Metadata.php
b/includes/Metadata.php
index
24522cf
..
0cb9ca3
100644
(file)
--- a/
includes/Metadata.php
+++ b/
includes/Metadata.php
@@
-75,7
+75,7
@@
function rdfSetup() {
$httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : '';
- $rdftype = wfNegotiateType(wfAcceptToPrefs($
_SERVER['HTTP_ACCEPT'])
, wfAcceptToPrefs(RDF_TYPE_PREFS));
+ $rdftype = wfNegotiateType(wfAcceptToPrefs($
httpaccept
, wfAcceptToPrefs(RDF_TYPE_PREFS));
if (!$rdftype) {
wfHttpError(406, "Not Acceptable", wfMsg("notacceptable"));