svn: /web/php-master/trunk/scripts/ mirror-summary
| From: | Philip Olson | Date: | Sun, 09 May 2010 17:28:05 +0000 |
| Subject: | svn: /web/php-master/trunk/scripts/ mirror-summary | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-8152@lists.php.net to get a copy of this message | ||
philip Sun, 09 May 2010 17:28:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299187
Log:
Skip docs.php.net from this summary
Changed paths:
U web/php-master/trunk/scripts/mirror-summary
Modified: web/php-master/trunk/scripts/mirror-summary
===================================================================
--- web/php-master/trunk/scripts/mirror-summary 2010-05-09 14:41:50 UTC (rev 299186)
+++ web/php-master/trunk/scripts/mirror-summary 2010-05-09 17:28:05 UTC (rev 299187)
@@ -35,6 +35,10 @@
// Download data to the $hosts array, and count total number of hosts
while ($host = mysql_fetch_assoc($result)) {
+ // skips: docs.php.net is not an official mirror (builds own manuals, empty distributions/,
...)
+ if ($host['hostname'] === 'docs.php.net') {
+ continue;
+ }
$hosts[] = $host;
}
$total = count($hosts);