diff options
Diffstat (limited to 'inc/download.inc.php')
-rw-r--r-- | inc/download.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/download.inc.php b/inc/download.inc.php index 2eef219c..8358eaa3 100644 --- a/inc/download.inc.php +++ b/inc/download.inc.php @@ -28,6 +28,7 @@ class Download curl_setopt(self::$curlHandle, CURLOPT_AUTOREFERER, true); curl_setopt(self::$curlHandle, CURLOPT_MAXREDIRS, 6); curl_setopt(self::$curlHandle, CURLOPT_ACCEPT_ENCODING, ''); + curl_setopt(self::$curlHandle, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) SLX-Admin/1.0'); curl_setopt(self::$curlHandle, CURLOPT_PROTOCOLS, CURLPROTO_FTP | CURLPROTO_FTPS | CURLPROTO_HTTP | CURLPROTO_HTTPS); } |