1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Skip PHP.net when listing

This commit is contained in:
Gabor Hojtsy
2003-08-13 16:02:41 +00:00
parent 23784ab672
commit 8118e302cc

3
my.php
View File

@@ -211,7 +211,8 @@ $mirror = myphpnet_mirror();
foreach ($mirror_sites as $murl => $mdata) {
// Skip inactive mirrors
if (!mirror_status($murl) == MIRROR_OK) { continue; }
if (!mirror_status($murl) == MIRROR_OK ||
$murl == "http://www.php.net/") { continue; }
// Compute user friendly mirror name
$mname = ($murl == "NONE" ? "Automatic selection (default)" :