From 8d2cac1be604accc884b4535788b3cae32b9b4d4 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 1 May 2018 16:40:08 +0200 Subject: [PATCH] Fix parameter order which was preventing max_dl parameter to work properly --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index dbc2bb3..2fe3f82 100644 --- a/index.php +++ b/index.php @@ -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') {