actually import the data
authorAlan Knowles <alan@roojs.com>
Tue, 15 Dec 2020 07:34:33 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Dec 2020 07:34:33 +0000 (15:34 +0800)
Import/Core_templatestr.php

index 9f9e773..c71d884 100644 (file)
@@ -58,10 +58,10 @@ class Pman_Admin_Import_Core_templatestr extends Pman
         //$rows = $this->readXLS("/home/alan/Downloads/oll_example.xls") ;
         $rows = $this->readXLS($_FILES['imageUpload']['tmp_name']) ;
         
-         //$ret = $this->processRows($rows);
+        $ret = $this->processRows($rows);
         
          
-        $this->jok("DONE", false, array('extra'=> $rows));
+        $this->jok("DONE", false, array('extra'=> $ret));
         
     }