svn: /web/php-master/trunk/scripts/ ip-to-country
| From: | Hannes Magnusson | Date: | Wed, 17 Aug 2011 22:50:23 +0000 |
| Subject: | svn: /web/php-master/trunk/scripts/ ip-to-country | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11952@lists.php.net to get a copy of this message | ||
bjori Wed, 17 Aug 2011 22:50:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315112
Log:
Why even bother committing workaround? divyank.t from directi.com has fixed all both issues of ours
over the past ~10 years within 2hours...
Changed paths:
U web/php-master/trunk/scripts/ip-to-country
Modified: web/php-master/trunk/scripts/ip-to-country
===================================================================
--- web/php-master/trunk/scripts/ip-to-country 2011-08-17 22:15:28 UTC (rev 315111)
+++ web/php-master/trunk/scripts/ip-to-country 2011-08-17 22:50:23 UTC (rev 315112)
@@ -71,9 +71,6 @@
if (trim($line) == "#Directi IP-to-Country Db: End") {
$state = 'lastline';
} elseif (!preg_match("!\\d{20}\\w{3}\n!", $line)) {
- /* pretend it was the last line, seems to be a temp failure in the data */
- $state = "lastline";
- break;
$fileok = FALSE;
break 2;
} else {