diff --git a/e107_handlers/e_marketplace.php b/e107_handlers/e_marketplace.php index 4dd9fa044a..4c899f648a 100644 --- a/e107_handlers/e_marketplace.php +++ b/e107_handlers/e_marketplace.php @@ -395,8 +395,9 @@ function getRemoteFile($remote_url, $local_file, $type='temp') $cp = e107::getFile()->initCurl($remote_url); + curl_setopt($cp, CURLOPT_FILE, $fp); /* $cp = curl_init($remote_url); - curl_setopt($cp, CURLOPT_FILE, $fp); + //curl_setopt($ch, CURLOPT_VERBOSE, 1); //curl_setopt($ch, CURLOPT_STDERR, $fp1);