cvs: phpweb / downloads.php mirror_list.txt /include site.inc
| From: | Colin Viebrock | Date: | Mon, 12 Mar 2001 15:22:58 +0000 |
| Subject: | cvs: phpweb / downloads.php mirror_list.txt /include site.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4422@lists.php.net to get a copy of this message | ||
cmv Mon Mar 12 07:22:58 2001 EDT
Modified files:
/phpweb downloads.php mirror_list.txt
/phpweb/include site.inc
Log:
Remove checks for port 81
Index: phpweb/downloads.php
diff -u phpweb/downloads.php:1.41 phpweb/downloads.php:1.42
--- phpweb/downloads.php:1.41 Sun Mar 11 03:12:27 2001
+++ phpweb/downloads.php Mon Mar 12 07:22:58 2001
@@ -1,7 +1,7 @@
<?
require_once 'prepend.inc';
commonHeader("Downloads");
-$server = ($SERVER_PORT == "81" ? $SERVER_NAME . ":81" : $SERVER_NAME);
+$server = $SERVER_NAME;
?>
<h1>Latest version of PHP 4.0</h1>
Index: phpweb/mirror_list.txt
diff -u phpweb/mirror_list.txt:1.75 phpweb/mirror_list.txt:1.76
--- phpweb/mirror_list.txt:1.75 Fri Mar 9 13:17:41 2001
+++ phpweb/mirror_list.txt Mon Mar 12 07:22:58 2001
@@ -1,6 +1,6 @@
at at.php.net Antonin Sprinzl <Antonin.Sprinzl@tuwien.ac.at> 192.35.244.50
au au.php.net jason andrade <jason@planetmirror.com> php.planetmirror.com
-au au2.php.net:81 David Robley <webmaster@www.nisu.flinders.edu.au> 129.96.218.17 port 81
+au au2.php.net David Robley <webmaster@www.nisu.flinders.edu.au> www.nisu.flinders.edu.au
bg bg.php.net Alexander Keremidarski <salle@online.bg> php.online.bg
br br.php.net Antonio Dias <accdias@sst.com.br> 200.223.199.4
br2 br2.php.net Nelson Junior <nelson@lunenetworks.com.br> php-mirror.lunenetworks.com.br
Index: phpweb/include/site.inc
diff -u phpweb/include/site.inc:1.166 phpweb/include/site.inc:1.167
--- phpweb/include/site.inc:1.166 Fri Mar 9 13:03:41 2001
+++ phpweb/include/site.inc Mon Mar 12 07:22:58 2001
@@ -11,7 +11,7 @@
$MIRRORS = array(
"http://au.php.net/" =>
array("au", "Planet Mirror", "", "http://www.planetmirror.com/", 1, 0,
"en"),
- "http://au2.php.net:81/" =>
array("au", "Flinders University of South Australia", "", "http://www.nisu.flinders.edu.au/", 1, 1,
"en"),
+ "http://au2.php.net/" =>
array("au", "Flinders University of South Australia", "", "http://www.nisu.flinders.edu.au/", 1, 0,
"en"),
"http://at.php.net/" =>
array("at", "Goodie Domain Service", "", "http://gd.tuwien.ac.at/", 1, 0, "de"),
"http://br.php.net/" =>
array("br", "SST Internet", "", "http://www.sst.com.br/", 1, 0, "pt_BR"),
# "http://br2.php.net/" =>
array("br", "Lune Networks", "", "http://www.lunenetworks.com.br/", 1, 0,
"pt_BR"),
@@ -120,15 +120,11 @@
);
-$MYSITE='http://'.getenv("SERVER_NAME").(getenv("SERVER_PORT")!=80?":".getenv("SERVER_PORT"):"").'/';
+$MYSITE='http://' . getenv("SERVER_NAME") .
'/';
if (!isset($MIRRORS[$MYSITE])) {
$MIRRORS[$MYSITE] = array("xx", $MYSITE, "none", $MYSITE, 2, 0,
"en");
}
-# fix for non-standard port in Australian mirror
-if(strstr($MYSITE,":81")) {
- $MYSITE = ereg_replace("php.net", "php.net:81", $MYSITE);
-}
?>