com web/master: Reverting to fix search; CC sponsorship info will have to be pulled another way.: fetch/mirrors.php

From: Date: Fri, 12 Oct 2012 16:35:26 +0000
Subject: com web/master: Reverting to fix search; CC sponsorship info will have to be pulled another way.: fetch/mirrors.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14843@lists.php.net to get a copy of this message
Commit: bcd16a13d21d0beee9119ec0e8bd77c2ffa9fb2a Author: Daniel P. Brown <danbrown@php.net> 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"; }

« previous php.webmaster (#14843) next »