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:
3
my.php
3
my.php
@@ -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)" :
|
||||
|
||||
Reference in New Issue
Block a user