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.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php
index d7cd922b3..9d6449502 100644
--- a/en/downloads/get/lib.php
+++ b/en/downloads/get/lib.php
@@ -34,6 +34,7 @@ $countries = array (
'IL' => _r("Israel"),
'IT' => _r("Italia"),
'JP' => _r("日本国 - Japan"),
+ 'KR' => _r("Korea"),
'NC' => _r("Nouvelle-Calédonie"),
'NL' => _r("Nederlands"),
'PH' => _r("Philipines"),
@@ -59,11 +60,13 @@ $cities_i18n = array (
'Brisbane' => _r("Brisbane"),
'Brno' => _r("Brno"),
'Brussels' => _r("Brussels"),
+ 'Buenos Aires' => _r("Buenos Aires"),
'Canterbury' => _r("Canterbury"),
'Cebu' => _r("Cebu"),
'Chungli' => _r("Chungli"),
'Cuenca' => _r("Cuenca"),
'DTU, Lyngby' => _r("DTU, Lyngby"),
+ 'Den Haag' => _r("Den Haag"),
'Durham' => _r("Durham"),
'Düsseldorf' => _r("Düsseldorf"),
'Enschede' => _r("Enschede"),
@@ -73,12 +76,17 @@ $cities_i18n = array (
'Hefei' => _r("Hefei"),
'Heraklion' => _r("Heraklion"), // 'Ηράκλειο', // .gr
'HsinChu' => _r("HsinChu"), // '新竹市', // .tw
+ 'Krakow' => _r("Krakow"),
'Lenoir, NC' => _r("Lenoir, NC"),
'Lyon' => _r("Lyon"),
'Milan' => _r("Milan"),
'Minsk' => _r("Minsk"), // 'Мінск', // .by
'Miskolc' => _r("Miskolc"),
'Moscow' => _r("Moscow"), // 'Москва', // .ru
+ 'Nanjing' => _r("Nanjing"),
+ 'New York' => _r("New York"),
+ 'New York City' => _r("New York City"),
+ 'Ons-en-Bray' => _r("Ons-en-Bray"),
'Paris' => _r("Paris"),
'Prague' => _r("Prague"), // 'Praha', // .cz
'Princeton' => _r("Princeton"),
@@ -87,12 +95,17 @@ $cities_i18n = array (
'Shanghai' => _r("Shanghai"),
'Sofia' => _r("Sofia"),
'Stellenbosch' => _r("Stellenbosch"),
+ 'Szczecin' => _r("Szczecin"),
'Taipei' => _r("Taipei"),
'Tsukuba' => _r("Tsukuba"),
+ 'Ulsan' => _r("Ulsan"),
'Umeå' => _r("Umeå"),
'Vinnytsia' => _r("Vinnytsia"),
'Warszawa' => _r("Warszawa"),
'Yonezawa' => _r("Yonezawa"), // '米沢市', // .jp
+ 'istanbul' => _r("istanbul"),
+ 'richmond' => _r("richmond"),
+
'Краснодар' => _r("Краснодар"),
);
@@ -171,13 +184,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);
}