Use curl in silent mode

Always append curl custom parameters at the end
This commit is contained in:
Pierre Rudloff 2016-04-14 12:48:32 +02:00
parent d00c1dc91c
commit ecba860c5a

View file

@ -184,12 +184,13 @@ class FrontController
$chain = new Chain( $chain = new Chain(
ProcessBuilder::create( ProcessBuilder::create(
array_merge( array_merge(
array('curl'),
$this->config->curl_params,
array( array(
'curl',
'--silent',
'--user-agent', $video->http_headers->{'User-Agent'}, '--user-agent', $video->http_headers->{'User-Agent'},
$video->url $video->url
) ),
$this->config->curl_params
) )
) )
); );