svn: /web/php/trunk/include/ ip-to-country.inc

From: Date: Sat, 31 Oct 2009 20:01:15 +0000
Subject: svn: /web/php/trunk/include/ ip-to-country.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-6308@lists.php.net to get a copy of this message
philip Sat, 31 Oct 2009 20:01:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290113 Log: reverted last commit, see http://news.php.net/php.mirrors/37754 Changed paths: U web/php/trunk/include/ip-to-country.inc Modified: web/php/trunk/include/ip-to-country.inc =================================================================== --- web/php/trunk/include/ip-to-country.inc 2009-10-31 18:21:50 UTC (rev 290112) +++ web/php/trunk/include/ip-to-country.inc 2009-10-31 20:01:15 UTC (rev 290113) @@ -89,9 +89,8 @@ $idxpart = 0; $recnum = 0; // Open the index file for reading - $idxfilename = $_SERVER['DOCUMENT_ROOT'] . "/backend/ip-to-country.idx"; - $dbidx = is_readable($idxfilename) && fopen( - $idxfilename, + $dbidx = fopen( + $_SERVER['DOCUMENT_ROOT'] . "/backend/ip-to-country.idx", "r" ); if (!$dbidx) { return FALSE; }

« previous php.webmaster (#6308) next »