aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/get/lib.php')
-rw-r--r--en/downloads/get/lib.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php
index 35bbe985c..b730b767d 100644
--- a/en/downloads/get/lib.php
+++ b/en/downloads/get/lib.php
@@ -22,6 +22,7 @@ $countries = array(
'CN' => '中国', // China
'CZ' => 'Česko', // Czechia
'DE' => 'Deutschland',
+ 'EC' => 'Ecuador',
'ES' => 'España',
'FR' => 'France',
'GB' => 'Great Britain',
@@ -125,11 +126,11 @@ function get_info_for_product($product, $def_file = null)
* speed
* link
*/
-function get_mirrors_for($file, $locale = null, $country = null)
+function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $documentation = false)
{
//include '../../../lib/Downloads.php';
- $mirrors = Downloads::get_all_mirrors();
+ $mirrors = Downloads::get_all_mirrors($prod, $documentation);
$wsd = new Downloads();
$one = $wsd->prepare_download(true, $country);