aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-05-02 17:14:00 +0200
committerfilip <filip.komar@gmail.com>2015-05-02 17:14:00 +0200
commit62ae825edfd34c1dedc76cb9e556c80391f317c5 (patch)
tree64027f1d1305b1dca0688e3ee77354949484a784 /en/downloads
parent6c1ef956b76448a3ac165591cd30cc889fb4b3bc (diff)
downloadwww-62ae825edfd34c1dedc76cb9e556c80391f317c5.tar
www-62ae825edfd34c1dedc76cb9e556c80391f317c5.tar.gz
www-62ae825edfd34c1dedc76cb9e556c80391f317c5.tar.bz2
www-62ae825edfd34c1dedc76cb9e556c80391f317c5.tar.xz
www-62ae825edfd34c1dedc76cb9e556c80391f317c5.zip
bugfix for proper parsing of pt_br and other underline language abreviations
Diffstat (limited to 'en/downloads')
-rw-r--r--en/downloads/get/index.php2
1 files changed, 1 insertions, 1 deletions
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 {