diff --git a/ext/upload/main.php b/ext/upload/main.php index 217018cf..e1d4580c 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -147,6 +147,8 @@ class Upload extends Extension { curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_HEADER, 0); + curl_setopt($ch, CURLOPT_REFERER, $url); + curl_setopt($ch, CURLOPT_USERAGENT, "Shimmie-".VERSION); curl_exec($ch); curl_close($ch);