Last modified: 2010-05-15 15:56:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8291, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6291 - eliminate old $HTTP_SERVER_VARS
eliminate old $HTTP_SERVER_VARS
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.6.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-13 09:48 UTC by FrankSchweickert
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description FrankSchweickert 2006-06-13 09:48:13 UTC
One should replace in portal.php, line 14 and 15

if ( isset ( $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] ) )
	$userlang = $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] ;

by

if ( isset ( $_SERVER["HTTP_ACCEPT_LANGUAGE"] ) )
	$userlang = $_SERVER["HTTP_ACCEPT_LANGUAGE"] ;


Regards,
Frank
Comment 1 Brion Vibber 2006-06-13 18:46:59 UTC
There is no portal.php in MediaWiki.... or there shouldn't be. 
Where the hell did this come from?

Removed file entirely.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links