From: Laury GvR Date: Thu, 29 Oct 2015 13:08:30 +0000 (-0400) Subject: Added curlopt php5 useragent for weather xml feed X-Git-Tag: V1.3.6^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2c221d41a9734d05213756ae651f9289372770ce;p=web%2FKeweenaw.git Added curlopt php5 useragent for weather xml feed --- diff --git a/Toolkit/Weather.php b/Toolkit/Weather.php index 5713f9d..1ce4e2e 100755 --- a/Toolkit/Weather.php +++ b/Toolkit/Weather.php @@ -169,6 +169,7 @@ class Toolkit_Weather CURLOPT_TIMEOUT => 15, CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_FAILONERROR => 1, + CURLOPT_USERAGENT => 'php5' ); // start curl object $ch = curl_init();