浏览代码

instanciar libreria de insercion en acabar parser de archivos y datos

Nermosis 3 年前
父节点
当前提交
c767e25444
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      application/controllers/Parser.php

+ 3 - 0
application/controllers/Parser.php 查看文件

@@ -18,6 +18,7 @@ class Parser extends CI_Controller
18 18
         $this->load->helper('file');
19 19
         $this->load->helper('xml');
20 20
         $this->load->library('parserfile');
21
+        $this->load->library('parserdatabaselimpio');
21 22
         $this->load->model("Parser_model");
22 23
     }
23 24
 
@@ -46,6 +47,8 @@ class Parser extends CI_Controller
46 47
                         $this->parserfile->index($this->rutaDiariaFecha, $fechaCarpeta, $row);
47 48
                     }
48 49
                 }
50
+
51
+                $this->parserdatabaselimpio->index();
49 52
             } else {
50 53
                 echo "EXISTE UN CRON EN MARCHA.";
51 54
             }