diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-05-01 16:40:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-05-01 16:40:08 +0200 |
commit | 8d2cac1be604accc884b4535788b3cae32b9b4d4 (patch) | |
tree | 36f77f971a2cfceca38ff586c573f4ce7e2f6c5d /index.php | |
parent | 3c0e27eec72f7bb00aea81540f978c4b4a1ac87f (diff) | |
download | Shaarli-8d2cac1be604accc884b4535788b3cae32b9b4d4.tar.gz Shaarli-8d2cac1be604accc884b4535788b3cae32b9b4d4.tar.zst Shaarli-8d2cac1be604accc884b4535788b3cae32b9b4d4.zip |
Fix parameter order which was preventing max_dl parameter to work properly
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1376,8 +1376,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager, | |||
1376 | // The callback will fill $charset and $title with data from the downloaded page. | 1376 | // The callback will fill $charset and $title with data from the downloaded page. |
1377 | get_http_response( | 1377 | get_http_response( |
1378 | $url, | 1378 | $url, |
1379 | $conf->get('general.download_max_size', 4194304), | ||
1380 | $conf->get('general.download_timeout', 30), | 1379 | $conf->get('general.download_timeout', 30), |
1380 | $conf->get('general.download_max_size', 4194304), | ||
1381 | get_curl_download_callback($charset, $title) | 1381 | get_curl_download_callback($charset, $title) |
1382 | ); | 1382 | ); |
1383 | if (! empty($title) && strtolower($charset) != 'utf-8') { | 1383 | if (! empty($title) && strtolower($charset) != 'utf-8') { |