aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-18 22:03:49 -0800
committerfriendica <info@friendica.com>2011-11-18 22:03:49 -0800
commit6893df991edfe971871a5db45055b40b871a7a4f (patch)
treecf112b7f95465dcf4973ba98042ce8c086216569 /include/network.php
parent0d77ca1caa784a5fb7e809e896101c82a7ec552f (diff)
downloadvolse-hubzilla-6893df991edfe971871a5db45055b40b871a7a4f.tar.gz
volse-hubzilla-6893df991edfe971871a5db45055b40b871a7a4f.tar.bz2
volse-hubzilla-6893df991edfe971871a5db45055b40b871a7a4f.zip
update user-agent string for remote http requests
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index e89eb94da..78ed24074 100644
--- a/include/network.php
+++ b/include/network.php
@@ -22,7 +22,7 @@ function fetch_url($url,$binary = false, &$redirects = 0, $timeout = 0, $accept_
}
@curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
- @curl_setopt($ch, CURLOPT_USERAGENT, "Friendika");
+ @curl_setopt($ch, CURLOPT_USERAGENT, "Friendica");
if(intval($timeout)) {
@@ -105,7 +105,7 @@ function post_url($url,$params, $headers = null, &$redirects = 0, $timeout = 0)
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
- curl_setopt($ch, CURLOPT_USERAGENT, "Friendika");
+ curl_setopt($ch, CURLOPT_USERAGENT, "Friendica");
if(intval($timeout)) {
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);