Fix parameter order which was preventing max_dl parameter to work properly
This commit is contained in:
parent
3c0e27eec7
commit
8d2cac1be6
1 changed files with 1 additions and 1 deletions
|
@ -1376,8 +1376,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
|
||||||
// The callback will fill $charset and $title with data from the downloaded page.
|
// The callback will fill $charset and $title with data from the downloaded page.
|
||||||
get_http_response(
|
get_http_response(
|
||||||
$url,
|
$url,
|
||||||
$conf->get('general.download_max_size', 4194304),
|
|
||||||
$conf->get('general.download_timeout', 30),
|
$conf->get('general.download_timeout', 30),
|
||||||
|
$conf->get('general.download_max_size', 4194304),
|
||||||
get_curl_download_callback($charset, $title)
|
get_curl_download_callback($charset, $title)
|
||||||
);
|
);
|
||||||
if (! empty($title) && strtolower($charset) != 'utf-8') {
|
if (! empty($title) && strtolower($charset) != 'utf-8') {
|
||||||
|
|
Loading…
Reference in a new issue