|
@@ -14,7 +14,7 @@ class ParserFile
|
14
|
14
|
{
|
15
|
15
|
$this->CI = &get_instance();
|
16
|
16
|
$this->CI->load->helper('file');
|
17
|
|
- $this->CI->load->library('parserdatabase');
|
|
17
|
+ $this->CI->load->library('parserdatabasebruto');
|
18
|
18
|
}
|
19
|
19
|
|
20
|
20
|
public function index($rutaDiariaDownloader, $fechaInicioParser)
|
|
@@ -70,7 +70,7 @@ class ParserFile
|
70
|
70
|
file_put_contents($this->rutaDiaria . "/text_" . $filename . ".txt", $str);
|
71
|
71
|
}
|
72
|
72
|
|
73
|
|
- $this->CI->parserdatabase->setDatosParser($resultEntries, $fechaInicioParser);
|
|
73
|
+ $this->CI->parserdatabasebruto->setDatosParser($resultEntries, $fechaInicioParser);
|
74
|
74
|
|
75
|
75
|
return;
|
76
|
76
|
}
|
|
@@ -582,6 +582,8 @@ class ParserFile
|
582
|
582
|
|
583
|
583
|
if ($valuesTotales == $valuesVacios) {
|
584
|
584
|
$this->array_remove_empty($arrayCheck);
|
|
585
|
+ } else {
|
|
586
|
+ return $arrayCheck;
|
585
|
587
|
}
|
586
|
588
|
}
|
587
|
589
|
|