Commit d583399103bbfb10acb8f195c28e1fc2e96feb94
1 parent
4998b987
Exists in
master
and in
1 other branch
Ajuste nos nomes dos campos
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
rn/MdEstatisticasColetarRN.php
... | ... | @@ -47,7 +47,8 @@ class MdEstatisticasColetarRN extends InfraRN |
47 | 47 | $ind['modulos'] = $this->obterPlugins(); |
48 | 48 | $ind['extensoes'] = $this->obterQuantidadeDocumentosExternosPorExtensao(); |
49 | 49 | $ind['anexosTamanhos'] = $this->obterTamanhoDocumentosExternos(); |
50 | - $ind['filehashIndicador'] = $this->obterHashs(); | |
50 | + $ind['filesHashs'] = $this->obterHashs(); | |
51 | + //print_r($ind);die; | |
51 | 52 | return $ind; |
52 | 53 | } catch (Exception $e) { |
53 | 54 | InfraDebug::getInstance()->setBolLigado(false); |
... | ... | @@ -89,7 +90,7 @@ class MdEstatisticasColetarRN extends InfraRN |
89 | 90 | |
90 | 91 | private function obterHashs(){ |
91 | 92 | |
92 | - $a = MdEstatisticasColetarRN::getDirContents(DIR_SEI_CONFIG . '/../../sei'); | |
93 | + $a = MdEstatisticasColetarRN::getDirContents(DIR_SEI_CONFIG . '/../../'); | |
93 | 94 | $objConfiguracaoSEI = ConfiguracaoSEI::getInstance(); |
94 | 95 | |
95 | 96 | if ($objConfiguracaoSEI->isSetValor('SEI','Modulos')){ |
... | ... | @@ -116,8 +117,8 @@ class MdEstatisticasColetarRN extends InfraRN |
116 | 117 | $b[] = array('file' => $value, |
117 | 118 | 'hash' => hash_file('sha256', $value), |
118 | 119 | 'modulo' => $m, |
119 | - 'versao_modulo' => $version, | |
120 | - 'versao_sei' => SEI_VERSAO); | |
120 | + 'versaoModulo' => $version, | |
121 | + 'versaoSei' => SEI_VERSAO); | |
121 | 122 | } |
122 | 123 | |
123 | 124 | return $b; | ... | ... |