projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Import/Core_geoip.php
[Pman.Core]
/
Import
/
Core_geoip.php
diff --git
a/Import/Core_geoip.php
b/Import/Core_geoip.php
index
30fae9d
..
a4408ba
100644
(file)
--- a/
Import/Core_geoip.php
+++ b/
Import/Core_geoip.php
@@
-133,6
+133,10
@@
class Pman_Core_Import_Core_geoip extends Pman_Roo
$cols = false;
+ $this->processed = 0;
+ $this->total = count(file($csv));
+ $this->echo = '';
+
while(false !== ($n = fgetcsv($fh,10000, ',', '"'))) {
if(!array_filter($n)){ // empty row
continue;
@@
-163,6
+167,7
@@
class Pman_Core_Import_Core_geoip extends Pman_Roo
}
$this->processBlock($row);
+
}
}