From: Laury GvR Date: Thu, 29 Oct 2015 12:49:59 +0000 (-0400) Subject: Added curlopt php5 useragent for weather xml feed. X-Git-Tag: v1.4.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=23ecb604ca378b120409b2c0544acec2b7875644;p=web%2FGaylordGolfMecca.git Added curlopt php5 useragent for weather xml feed. --- diff --git a/Toolkit/Weather.php b/Toolkit/Weather.php index 368be2f..a9927bd 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();