cvs: php-master-web /fetch mirrordns.php
| From: | Sascha Schumann | Date: | Mon, 16 Dec 2002 21:00:57 +0000 |
| Subject: | cvs: php-master-web /fetch mirrordns.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14266@lists.php.net to get a copy of this message | ||
sas Mon Dec 16 16:00:57 2002 EDT
Modified files:
/php-master-web/fetch mirrordns.php
Log:
fix typo
Index: php-master-web/fetch/mirrordns.php
diff -u php-master-web/fetch/mirrordns.php:1.1 php-master-web/fetch/mirrordns.php:1.2
--- php-master-web/fetch/mirrordns.php:1.1 Mon Dec 16 15:22:26 2002
+++ php-master-web/fetch/mirrordns.php Mon Dec 16 16:00:55 2002
@@ -25,7 +25,7 @@
if ($row['mirrortype'] != 1) { continue; }
// The CNAME is an IP
- if (preg_match("!^\\d+\\.\\d+\\.\\d+\\.\\d+!$", $row['cname']))
{
+ if (preg_match("!^\\d+\\.\\d+\\.\\d+\\.\\d+$!", $row['cname']))
{
echo '+' . $row['hostname'] . ':' .
$row['cname'] . "\n";
echo '+www.' . $row['hostname'] . ':' .
$row['cname'] . "\n";
}