projects
/
web
/
Keweenaw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f88768e
)
Added curlopt php5 useragent for weather xml feed
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 29 Oct 2015 13:08:30 +0000
(09:08 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 29 Oct 2015 13:08:30 +0000
(09:08 -0400)
Toolkit/Weather.php
patch
|
blob
|
history
diff --git
a/Toolkit/Weather.php
b/Toolkit/Weather.php
index
5713f9d
..
1ce4e2e
100755
(executable)
--- 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();