aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-06-05 14:48:24 +0200
committerfilip <filip.komar@gmail.com>2016-06-05 14:48:24 +0200
commit5552b0c89cf71b9b847f9c424255255c40c59877 (patch)
treef77a599a033829f826399d90817759f2b8a94512 /en/downloads
parent7907ddd13e53da6b7b064ea4c9462520d2143437 (diff)
downloadwww-5552b0c89cf71b9b847f9c424255255c40c59877.tar
www-5552b0c89cf71b9b847f9c424255255c40c59877.tar.gz
www-5552b0c89cf71b9b847f9c424255255c40c59877.tar.bz2
www-5552b0c89cf71b9b847f9c424255255c40c59877.tar.xz
www-5552b0c89cf71b9b847f9c424255255c40c59877.zip
improve mirrorlist function
+ it now returns a shuffled list of ten mirrors with priority: within the country, then continent and others + exclude source server (distrib-coffee.ipsl.jussieu.fr) to drop it's DL load as a first choice in ISO and doc DL page and entirely from mirrorlist + some small bugfixes noted during testing + added some small code doc parts + some small code style polish
Diffstat (limited to 'en/downloads')
-rw-r--r--en/downloads/get/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 4583b82f3..34826e7b9 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -34,6 +34,7 @@
*/
require 'lib.php';
+require_once '../../../lib/mga_geoip.php';
// request
$product = get('q');