aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-05 13:23:47 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-05 13:23:47 +0000
commitc6005f3b84b4490d1a6061d4301c00c7b686715f (patch)
tree33cc8d2cab17cd20d2e3233b0114d2c9728913fb
parentc4266dab5a01340275d48736ac0dee871cb9de6b (diff)
downloadwww-c6005f3b84b4490d1a6061d4301c00c7b686715f.tar
www-c6005f3b84b4490d1a6061d4301c00c7b686715f.tar.gz
www-c6005f3b84b4490d1a6061d4301c00c7b686715f.tar.bz2
www-c6005f3b84b4490d1a6061d4301c00c7b686715f.tar.xz
www-c6005f3b84b4490d1a6061d4301c00c7b686715f.zip
fix locale path
-rw-r--r--downloads.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/downloads.php b/downloads.php
index 0e0b0f592..bad7f189f 100644
--- a/downloads.php
+++ b/downloads.php
@@ -45,8 +45,8 @@ foreach ($prods as $k => $p) {
$iso = sprintf('%s-%s', $glob['prefix'], $k);
- $dl_link = sprintf('/en/downloads/dl.php?product=%s', $iso);
- $bt_link = sprintf('/en/downloads/dl.php?product=%s&torrent=1', $iso);
+ $dl_link = sprintf('/%s/downloads/dl.php?product=%s', $locale, $iso);
+ $bt_link = sprintf('/%s/downloads/dl.php?product=%s&torrent=1', $locale, $iso);
$pop = rand(0,5);
$s .= sprintf($tmpl,
'', //($i == 0) ? ' class="reco"' : '',