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

index 43f5ae1..6633bfd 100644 (file)
@@ -47,6 +47,10 @@ class Pman_Core_Import_Core_geoip extends Pman_Roo
     function insertLocation($csv)
     {
         $fh = fopen($csv, 'r');
+        if (!$fh) {
+            $this->jerr("invalid location file");
+        }
+        
     }