From e31ec4507c495254239f11841d81c865e80e41a9 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 2 May 2015 16:13:53 +0200 Subject: adding download of pdf and epub file infrastructure --- en/downloads/get/lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'en/downloads/get/lib.php') 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); -- cgit v1.2.1