cvs: php-master-web /fetch mirrors.php
| From: | Gabor Hojtsy | Date: | Sat, 21 Dec 2002 14:40:44 +0000 |
| Subject: | cvs: php-master-web /fetch mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14392@lists.php.net to get a copy of this message | ||
goba Sat Dec 21 09:40:44 2002 EDT
Modified files:
/php-master-web/fetch mirrors.php
Log:
The 0th mirror should not be listed as an OK mirror,
so mark it as if it is not working. This does not
affect the parse error displayed currently on php.net
(which was addressed by the previous commit)
Index: php-master-web/fetch/mirrors.php
diff -u php-master-web/fetch/mirrors.php:1.12 php-master-web/fetch/mirrors.php:1.13
--- php-master-web/fetch/mirrors.php:1.12 Sat Dec 21 09:30:53 2002
+++ php-master-web/fetch/mirrors.php Sat Dec 21 09:40:44 2002
@@ -90,7 +90,7 @@
"\"$row[providername]\",$row[has_stats],\"$row[providerurl]\"" .
",$row[mirrortype],$row[has_search],\"$row[lang]\",$status),\n";
}
- echo ' 0 => array("xx", "Unknown", FALSE, "/",
MIRROR_SPECIAL, FALSE, "en", MIRROR_OK)', "\n";
+ echo ' 0 => array("xx", "Unknown", FALSE, "/",
MIRROR_SPECIAL, FALSE, "en", MIRROR_DOESNOTWORK)', "\n";
echo ");\n";
echo "?>\n";
}