From 62ae825edfd34c1dedc76cb9e556c80391f317c5 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 2 May 2015 17:14:00 +0200 Subject: bugfix for proper parsing of pt_br and other underline language abreviations --- en/downloads/get/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'en/downloads/get/index.php') diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index fc4497f98..247b7321c 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -61,7 +61,7 @@ $js_redirect = null; $reason = null; if ($doc == 'yes') { $def_file = 'definitions_doc.ini'; - list($release, $type, $lang, $extension) = explode('_', $product); // 'Mageia4_DrakX_en_epub' + list($release, $type, $lang, $extension) = explode('-', $product); // 'Mageia4-DrakX-pt_br-epub' $product = implode('_', array($release, $type, 'en', $extension)); $documentation = true; } else { -- cgit v1.2.1