diff options
author | filip <filip.komar@gmail.com> | 2015-05-02 16:13:53 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2015-05-02 16:13:53 +0200 |
commit | e31ec4507c495254239f11841d81c865e80e41a9 (patch) | |
tree | e0c62b5c7cc2e0564e7ae13d6ce8e82a6058da78 /en/downloads/get/lib.php | |
parent | c2158bebcc570b4f1a573122a546310268434e9e (diff) | |
download | www-e31ec4507c495254239f11841d81c865e80e41a9.tar www-e31ec4507c495254239f11841d81c865e80e41a9.tar.gz www-e31ec4507c495254239f11841d81c865e80e41a9.tar.bz2 www-e31ec4507c495254239f11841d81c865e80e41a9.tar.xz www-e31ec4507c495254239f11841d81c865e80e41a9.zip |
adding download of pdf and epub file infrastructure
Diffstat (limited to 'en/downloads/get/lib.php')
-rw-r--r-- | en/downloads/get/lib.php | 5 |
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); |