diff options
author | filip <filip.komar@gmail.com> | 2020-09-24 19:21:12 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2020-09-24 19:21:12 +0200 |
commit | ffb96f67b017187927558afbe3cdffa7d3b558e6 (patch) | |
tree | 84a467b4c94a1f422873caf2e6fe423c65324565 /en/downloads/get/lib.php | |
parent | c2287f71f371a8a7c1fee7ef77059d2bce58da62 (diff) | |
download | www-ffb96f67b017187927558afbe3cdffa7d3b558e6.tar www-ffb96f67b017187927558afbe3cdffa7d3b558e6.tar.gz www-ffb96f67b017187927558afbe3cdffa7d3b558e6.tar.bz2 www-ffb96f67b017187927558afbe3cdffa7d3b558e6.tar.xz www-ffb96f67b017187927558afbe3cdffa7d3b558e6.zip |
automatic DL link is now https only
Diffstat (limited to 'en/downloads/get/lib.php')
-rw-r--r-- | en/downloads/get/lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php index 79374d2af..40a2cb238 100644 --- a/en/downloads/get/lib.php +++ b/en/downloads/get/lib.php @@ -172,13 +172,13 @@ function get_info_for_product($product, $def_file = null) * speed * link */ -function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $documentation = false) +function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $documentation = false, $https_only = false) { //include '../../../lib/Downloads.php'; $mirrors = Downloads::get_all_mirrors($prod, $documentation); $wsd = new Downloads(); - $one = $wsd->prepare_download(true, $country, $prod, $documentation); + $one = $wsd->prepare_download(true, $country, $prod, $documentation, false, $https_only); return array($one, $mirrors); } |