projects
/
web
/
CedarvilleMarine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c86e71
)
Added Curlopt php5 useragent for weather xml feed.
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 29 Oct 2015 13:35:44 +0000
(09:35 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 29 Oct 2015 13:35:44 +0000
(09:35 -0400)
Toolkit/Weather.php
patch
|
blob
|
history
diff --git
a/Toolkit/Weather.php
b/Toolkit/Weather.php
index
1d2a482
..
12cc534
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();