aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Downloads.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Downloads.php')
-rw-r--r--lib/Downloads.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index dc955d431..84ac39607 100644
--- a/lib/Downloads.php
+++ b/lib/Downloads.php
@@ -149,7 +149,7 @@ class Downloads
require $cache_file;
} else {
- $data = file('http://mirrors.mageia.org/api/mageia.5.i586.list');
+ $data = file('http://mirrors.mageia.org/api/mageia.6.i586.list');
$mirrors = array();
$num_up = 0;
$num_dn = 0;
@@ -169,7 +169,7 @@ class Downloads
'country' => isset($m['country']) ? $m['country'] : '?',
'city' => isset($m['city']) ? utf8_encode($m['city']) : '-',
// BEWARE of the path substitution here. Must match.
- 'url' => str_replace('/distrib/5/i586', '', $m['url'])
+ 'url' => str_replace('/distrib/6/i586', '', $m['url'])
);
if ($documentation) {