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:
3c47af5
)
Don't mess with system variables, sry brion
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 26 Mar 2007 23:50:19 +0000
(23:50 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 26 Mar 2007 23:50:19 +0000
(23:50 +0000)
includes/Metadata.php
patch
|
blob
|
history
diff --git
a/includes/Metadata.php
b/includes/Metadata.php
index
9964a3d
..
24522cf
100644
(file)
--- a/
includes/Metadata.php
+++ b/
includes/Metadata.php
@@
-73,9
+73,7
@@
function wfCreativeCommonsRdf($article) {
function rdfSetup() {
global $wgOut, $_SERVER;
- if( !isset($_SERVER['HTTP_ACCEPT']) ) {
- $_SERVER['HTTP_ACCEPT'] = '';
- }
+ $httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : '';
$rdftype = wfNegotiateType(wfAcceptToPrefs($_SERVER['HTTP_ACCEPT']), wfAcceptToPrefs(RDF_TYPE_PREFS));