Page MenuHomePhabricator

eliminate old $HTTP_SERVER_VARS
Closed, ResolvedPublic

Description

Author: barley

Description:
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


Version: 1.6.x
Severity: normal

Details

Reference
bz6291

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6291.
bzimport added a subscriber: Unknown Object (MLST).

There is no portal.php in MediaWiki.... or there shouldn't be.
Where the hell did this come from?

Removed file entirely.