projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71817d7
)
Import/Core_geoip.php
author
Edward
<edward@roojs.com>
Tue, 13 May 2014 11:03:37 +0000
(19:03 +0800)
committer
Edward
<edward@roojs.com>
Tue, 13 May 2014 11:03:37 +0000
(19:03 +0800)
Import/Core_geoip.php
patch
|
blob
|
history
diff --git
a/Import/Core_geoip.php
b/Import/Core_geoip.php
index
7ce9cf0
..
068c13e
100644
(file)
--- a/
Import/Core_geoip.php
+++ b/
Import/Core_geoip.php
@@
-156,6
+156,8
@@
class Pman_Core_Import_Core_geoip extends Pman_Roo
function processLocation($row)
{
function processLocation($row)
{
+ $this->log("Processing : Continent - {$row['CONTINENT_NAME']}({$row['CONTINENT_CODE']}) | Country - {$row['COUNTRY_NAME']}({$row['COUNTRY_ISO_CODE']}) | Division - {$row['SUBDIVISION_ISO_CODE']}({$row['SUBDIVISION_NAME']}) | City - {$row['CITY_NAME']}");
+
$continent = $this->processContinent($row['CONTINENT_CODE'], $row['CONTINENT_NAME']);
$country = $this->processCountry($row['COUNTRY_ISO_CODE'], $row['COUNTRY_NAME'], $continent);
$continent = $this->processContinent($row['CONTINENT_CODE'], $row['CONTINENT_NAME']);
$country = $this->processCountry($row['COUNTRY_ISO_CODE'], $row['COUNTRY_NAME'], $continent);