Use curl in silent mode
Always append curl custom parameters at the end
This commit is contained in:
parent
d00c1dc91c
commit
ecba860c5a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue