cvs: php-master-web /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Mon, 04 Aug 2003 16:35:18 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19814@lists.php.net to get a copy of this message | ||
goba Mon Aug 4 12:35:18 2003 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
Doh, the array is called $host here and not $row
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.49 php-master-web/scripts/mirror-test:1.50
--- php-master-web/scripts/mirror-test:1.49 Mon Aug 4 10:20:11 2003
+++ php-master-web/scripts/mirror-test Mon Aug 4 12:35:18 2003
@@ -52,7 +52,7 @@
// Request the exact file on www.php.net as it redirects
// the request to a mirror site, and we would not handle
// that properly...
- if ($row['hostname'] == 'www.php.net') {
+ if ($host['hostname'] == 'www.php.net') {
$filename = '/mirror-info.php';
} else {
$filename = '/mirror-info';