aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-05-01 16:40:08 +0200
committerArthurHoaro <arthur@hoa.ro>2018-05-01 16:40:08 +0200
commit8d2cac1be604accc884b4535788b3cae32b9b4d4 (patch)
tree36f77f971a2cfceca38ff586c573f4ce7e2f6c5d /index.php
parent3c0e27eec72f7bb00aea81540f978c4b4a1ac87f (diff)
downloadShaarli-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.php2
1 files changed, 1 insertions, 1 deletions
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,
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') {