Commit: bcd16a13d21d0beee9119ec0e8bd77c2ffa9fb2a Author: Daniel P. Brown <[email protected]> Fri, 12 Oct 2012 12:35:26 -0400 Parents: f3f00c50d6acac71b80c7db996372563634d6009 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=bcd16a13d21d0beee9119ec0e8bd77c2ffa9fb2a Log: Reverting to fix search; CC sponsorship info will have to be pulled another way. Changed paths: M fetch/mirrors.php Diff: diff --git a/fetch/mirrors.php b/fetch/mirrors.php index 5837965..e31a43d 100644 --- a/fetch/mirrors.php +++ b/fetch/mirrors.php @@ -94,17 +94,6 @@ if (@mysql_connect("localhost","nobody","")) { " \"$row[cc]\", \"$row[providername]\", $row[has_stats],\n" . " \"$row[providerurl]\", $row[mirrortype], $row[has_search],\n" . " \"$row[lang]\", $status),\n"; - - // Do the same with the IPv4 address as the hostname, for - // round-robin CC base hosts - if the IPv4 is available. - // Note that this will also accept IPv4-mapped IPv6 - // addresses like so: 123:4:56:789::abc:def:127.0.0.1 - if (strlen($row['ipv4_addr']) >= 7) { - echo ' "'.$row['ipv4_addr'].'" => array('.PHP_EOL . - ' "'.$row['cc'].'", "'.$row['providername'].'", '.$row['has_stats'].','.PHP_EOL . - ' "'.$row['providerurl'].'", '.$row['mirrortype'].', '.$row['has_search'].','.PHP_EOL . - ' "'.$row['lang'].'", '.$status.'),'.PHP_EOL; - } } echo ");\n"; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
