diff options
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); } |