r60203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60202‎ | r60203 | r60204 >
Date:13:45, 18 December 2009
Author:yaron
Status:deferred
Tags:
Comment:
Commented out curl line causing problems in some installations
Modified paths:
  • /trunk/extensions/Maps/Geocoders/Maps_BaseGeocoder.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Geocoders/Maps_BaseGeocoder.php
@@ -58,7 +58,7 @@
5959 if (array_key_exists('HTTP_USER_AGENT', $_SERVER))
6060 curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
6161 // TODO else curl_setopt($ch, CURLOPT_USERAGENT, "MediaWiki/Maps extension");
62 - curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
 62+ //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
6363 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
6464
6565 $result = curl_exec($ch);

Status & tagging log