From 4f7e3e7a3af632ed96bd3d83e5c78e5fef5afe85 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 13 May 2014 19:17:18 +0800 Subject: [PATCH] Import/Core_geoip.php --- Import/Core_geoip.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Import/Core_geoip.php b/Import/Core_geoip.php index 3e35105e..c922112f 100644 --- a/Import/Core_geoip.php +++ b/Import/Core_geoip.php @@ -39,7 +39,7 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo $this->log("Insert location data start"); - $this->insertLocation($location); +// $this->insertLocation($location); $this->log("Insert Block data start"); @@ -109,6 +109,10 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo { ini_set("auto_detect_line_endings", true); + $linecount = count(file($csv)); + + print_r($linecount);exit; + $fh = fopen($csv, 'r'); if (!$fh) { $this->jerr("invalid location file"); -- 2.39.2