Import/Core_geoip.php
authorEdward <edward@roojs.com>
Tue, 13 May 2014 11:18:02 +0000 (19:18 +0800)
committerEdward <edward@roojs.com>
Tue, 13 May 2014 11:18:02 +0000 (19:18 +0800)
Import/Core_geoip.php

index a43f3c6..4edb6aa 100644 (file)
@@ -52,6 +52,8 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo
     {
         ini_set("auto_detect_line_endings", true);
         
+        $linecount = count(file($csv));
+        
         $fh = fopen($csv, 'r');
         
         if (!$fh) {