aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Downloads.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Downloads.php')
-rw-r--r--lib/Downloads.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index dd68c2a66..9fea1cea0 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.7.i586.list');
+ $data = file('http://mirrors.mageia.org/api/mageia.8.i586.list');
$mirrors = array();
$num_up = 0;
$num_dn = 0;
@@ -186,7 +186,7 @@ class Downloads
'country' => isset($m['country']) ? $m['country'] : '?',
'city' => isset($m['city']) ? $m['city'] : '-',
// BEWARE of the path substitution here. Must match.
- 'url' => str_replace('/distrib/7/i586', '', $m['url'])
+ 'url' => str_replace('/distrib/8/i586', '', $m['url'])
);
if ($refresh_country_and_city_arrays == true) {
// prepare details for i18n
@@ -217,9 +217,9 @@ class Downloads
if ($documentation) {
$test_file = $item['url'].'/doc/mga7/date.txt';
} else if ($mirrorlist) {
- $test_file = $item['url'].'/distrib/7/x86_64/media/core/updates/repodata/repomd.xml';
+ $test_file = $item['url'].'/distrib/8/x86_64/media/core/updates/repodata/repomd.xml';
} else {
- $test_file = $item['url'].'/iso/cauldron/torrents/Mageia-8-rc-Live-Xfce-i586.torrent';
+ $test_file = $item['url'].'/iso/8/torrents/Mageia-8-Live-Xfce-i586.torrent';
}
if (false === @file_get_contents($test_file)) {
$num_dn++;