diff options
author | filip <filip.komar@gmail.com> | 2016-05-14 19:18:52 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-05-14 19:18:52 +0200 |
commit | fd221dc687831388f7fb5083893c24e1d5ddd39d (patch) | |
tree | 404dbb7c8c352372fe2d12138bfc1491ce4a985e /en/downloads | |
parent | 4c8541ac57e07053c3c1e1521e77554da30befad (diff) | |
download | www-fd221dc687831388f7fb5083893c24e1d5ddd39d.tar www-fd221dc687831388f7fb5083893c24e1d5ddd39d.tar.gz www-fd221dc687831388f7fb5083893c24e1d5ddd39d.tar.bz2 www-fd221dc687831388f7fb5083893c24e1d5ddd39d.tar.xz www-fd221dc687831388f7fb5083893c24e1d5ddd39d.zip |
optimise mirror db cache size (half in size)
+ with added benefit of cleaner git diff
+ verbosity improvements of mirror db cache generate tool
Diffstat (limited to 'en/downloads')
-rw-r--r-- | en/downloads/get/index.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index 4e673d789..b121e3407 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -99,11 +99,9 @@ try { // Step 3. Build alternative mirrors list of links (URL manipulation, HTML) $g_mirs2 = array(); - foreach ($alt_mirrors as $country => $mirs): - if (substr($country, 0, 3) == '_C:') - continue; - + foreach ($alt_mirrors as $mirs): foreach ($mirs as $mir): + $country = $mir['country']; if (!array_key_exists($country, $countries)) { $countries[$country] = "country: $country"; } |