diff options
-rw-r--r-- | lib/Downloads.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php index 9fea1cea0..9ebeaf1c5 100644 --- a/lib/Downloads.php +++ b/lib/Downloads.php @@ -215,7 +215,7 @@ class Downloads } if ($documentation) { - $test_file = $item['url'].'/doc/mga7/date.txt'; + $test_file = $item['url'].'/doc/mga8/date.txt'; } else if ($mirrorlist) { $test_file = $item['url'].'/distrib/8/x86_64/media/core/updates/repodata/repomd.xml'; } else { @@ -223,10 +223,10 @@ class Downloads } if (false === @file_get_contents($test_file)) { $num_dn++; - echo "Down ($num_dn) $test_file \n"; + echo "Down $num_dn (up: $num_up) $test_file \n"; } else { $num_up++; - echo "Up ($num_up) $test_file \n"; + echo "Up $num_up (down: $num_dn) $test_file \n"; // $mirrors[$m['country']][] = $item; $mirrors['_C:' . $m['continent']][] = $item; } |