From: ArthurHoaro Date: Tue, 1 May 2018 14:40:08 +0000 (+0200) Subject: Fix parameter order which was preventing max_dl parameter to work properly X-Git-Tag: v0.10.0~28^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=8d2cac1be604accc884b4535788b3cae32b9b4d4;p=github%2Fshaarli%2FShaarli.git Fix parameter order which was preventing max_dl parameter to work properly --- diff --git a/index.php b/index.php index dbc2bb3b..2fe3f821 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') {