diff options
author | filip <filip.komar@gmail.com> | 2021-03-13 01:13:48 +0100 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2021-03-13 01:13:48 +0100 |
commit | 4799c463e659f420c874584c85cf15fd56ea1724 (patch) | |
tree | 669221b632466e7375893de5b0c068ee773477aa | |
parent | 2c57fc8b0cbf7742c0d436de9110545bbffe3f74 (diff) | |
download | www-4799c463e659f420c874584c85cf15fd56ea1724.tar www-4799c463e659f420c874584c85cf15fd56ea1724.tar.gz www-4799c463e659f420c874584c85cf15fd56ea1724.tar.bz2 www-4799c463e659f420c874584c85cf15fd56ea1724.tar.xz www-4799c463e659f420c874584c85cf15fd56ea1724.zip |
new mga8 doc test file
-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; } |