From 4e19cd09c731bf3dd4b8aa5897d94f1d168dedac Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 29 Oct 2015 09:35:44 -0400 Subject: [PATCH] Added Curlopt php5 useragent for weather xml feed. --- Toolkit/Weather.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Toolkit/Weather.php b/Toolkit/Weather.php index 1d2a482..12cc534 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(); -- 2.17.1