projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
160583b
)
Import/Core_geoip.php
author
Edward
<edward@roojs.com>
Tue, 13 May 2014 11:17:02 +0000
(19:17 +0800)
committer
Edward
<edward@roojs.com>
Tue, 13 May 2014 11:17:02 +0000
(19:17 +0800)
Import/Core_geoip.php
patch
|
blob
|
history
diff --git
a/Import/Core_geoip.php
b/Import/Core_geoip.php
index
fd630bd
..
3e35105
100644
(file)
--- a/
Import/Core_geoip.php
+++ b/
Import/Core_geoip.php
@@
-58,9
+58,9
@@
class Pman_Core_Import_Core_geoip extends Pman_Roo
$this->jerr("invalid location file");
}
- $line
= trim(fgets($fh
));
+ $line
count = count(file($csv
));
- print_r($line);exit;
+ print_r($line
count
);exit;
$req = array(
'GEONAME_ID', 'CONTINENT_CODE', 'CONTINENT_NAME',