Fix parameter order which was preventing max_dl parameter to work properly

This commit is contained in:
ArthurHoaro 2018-05-01 16:40:08 +02:00
parent 3c0e27eec7
commit 8d2cac1be6
1 changed files with 1 additions and 1 deletions

View File

@ -1376,8 +1376,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
// The callback will fill $charset and $title with data from the downloaded page.
get_http_response(
$url,
$conf->get('general.download_max_size', 4194304),
$conf->get('general.download_timeout', 30),
$conf->get('general.download_max_size', 4194304),
get_curl_download_callback($charset, $title)
);
if (! empty($title) && strtolower($charset) != 'utf-8') {