[Xfce4-commits] <www:master> Add mirrors too.

Nick Schermer noreply at xfce.org
Mon Jan 10 00:28:01 CET 2011


Updating branch refs/heads/master
         to 035ee1514dcd9bffbb5d81fd7188f86a5ede29e8 (commit)
       from 83b69b6ebaa6704a56d569338066dbf98368040b (commit)

commit 035ee1514dcd9bffbb5d81fd7188f86a5ede29e8
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Jan 10 00:26:24 2011 +0100

    Add mirrors too.

 i18n/download/version.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/i18n/download/version.php b/i18n/download/version.php
index a289046..8c4e198 100644
--- a/i18n/download/version.php
+++ b/i18n/download/version.php
@@ -59,6 +59,9 @@ function printServers($dir, $servers)
 
 function printMirror($version)
 {
-  echo "<a href=\"http://archive.xfce.org/xfce/$version/\">http://archive.xfce.org/xfce/$version</a>";
+  foreach (array ("", ".se", ".be", ".be2") as $mirror)
+  {
+      echo "<a href=\"http://archive$mirror.xfce.org/xfce/$version/\">http://archive$mirror.xfce.org/xfce/$version</a><br />";
+  }
 }
 ?>



More information about the Xfce4-commits mailing list