diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-05-11 10:45:30 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-05-11 10:45:30 +0000 |
commit | 113c57e2a640e11f53b2f20968ba1bb99f132c4f (patch) | |
tree | 74ff95eae7c37ab1043c9d53f8ec0f50d14c0f93 /en/downloads | |
parent | 0f9bc8691933813896c397d7af2ed53b2e9e9b25 (diff) | |
download | www-113c57e2a640e11f53b2f20968ba1bb99f132c4f.tar www-113c57e2a640e11f53b2f20968ba1bb99f132c4f.tar.gz www-113c57e2a640e11f53b2f20968ba1bb99f132c4f.tar.bz2 www-113c57e2a640e11f53b2f20968ba1bb99f132c4f.tar.xz www-113c57e2a640e11f53b2f20968ba1bb99f132c4f.zip |
use downloads/get/?q for Mageia 1 files
Diffstat (limited to 'en/downloads')
-rw-r--r-- | en/downloads/lib.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/en/downloads/lib.php b/en/downloads/lib.php index 8a32806ba..3aa8ef837 100644 --- a/en/downloads/lib.php +++ b/en/downloads/lib.php @@ -64,10 +64,17 @@ foreach ($prods2 as $flavour => $prods3) { foreach ($prods3 as $k => $p) { $iso = sprintf('%s-%s', $glob['prefix'], $k); + /* $dl_link = sprintf('/%s/downloads/dl.php?product=%s', $locale, $iso); $bt_link = isset($p['torrent']) ? sprintf('/%s/downloads/dl.php?product=%s&torrent=1', $locale, $iso) : null; + */ + + $dl_link = sprintf('/%s/downloads/get/?q=%s', $locale, $iso); + $bt_link = isset($p['torrent']) ? + sprintf('/%s/downloads/get/?q=%s&torrent=1', $locale, $iso) : + null; $pop = array_key_exists($k, $popularity) ? $popularity[$k] : 0; |