Import/Core_geoip.php
authorEdward <edward@roojs.com>
Tue, 13 May 2014 08:54:12 +0000 (16:54 +0800)
committerEdward <edward@roojs.com>
Tue, 13 May 2014 08:54:12 +0000 (16:54 +0800)
Import/Core_geoip.php

index 5b9f0cc..55e3b86 100644 (file)
@@ -8,6 +8,7 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo
     
     static $cli_opts = array();
     
+    static $id_mapping = array();
     
     function getAuth()
     {
@@ -36,12 +37,15 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo
             $this->jerr('GeoLite2-City-Locations.csv OR GeoLite2-City-Blocks.csv does not exists?!');
         }
         
+        
+        
         $this->insertLocation($location);
         
         $this->insertBlock($block);
     }
     
     
+    
     function log($str)
     {
         echo "$str \n";