Tim Starling <tstarling <at> wikimedia.org> writes:

> 
> It turns out that the relevant source code stored the user agent in a
> global variable, but the "global" statement was missing from the
> relevant functions, so it was effectively doing:
> 
> curl_setopt($ch, CURLOPT_USERAGENT, null);
> 


Oh, thanks Tim!  Ya, that fixed the problem.

I appreciate the help.

- Jason Lee


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to