Commit d583399103bbfb10acb8f195c28e1fc2e96feb94

Authored by root
1 parent 4998b987

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,7 +47,8 @@ class MdEstatisticasColetarRN extends InfraRN
47 $ind['modulos'] = $this->obterPlugins(); 47 $ind['modulos'] = $this->obterPlugins();
48 $ind['extensoes'] = $this->obterQuantidadeDocumentosExternosPorExtensao(); 48 $ind['extensoes'] = $this->obterQuantidadeDocumentosExternosPorExtensao();
49 $ind['anexosTamanhos'] = $this->obterTamanhoDocumentosExternos(); 49 $ind['anexosTamanhos'] = $this->obterTamanhoDocumentosExternos();
50 - $ind['filehashIndicador'] = $this->obterHashs(); 50 + $ind['filesHashs'] = $this->obterHashs();
  51 + //print_r($ind);die;
51 return $ind; 52 return $ind;
52 } catch (Exception $e) { 53 } catch (Exception $e) {
53 InfraDebug::getInstance()->setBolLigado(false); 54 InfraDebug::getInstance()->setBolLigado(false);
@@ -89,7 +90,7 @@ class MdEstatisticasColetarRN extends InfraRN @@ -89,7 +90,7 @@ class MdEstatisticasColetarRN extends InfraRN
89 90
90 private function obterHashs(){ 91 private function obterHashs(){
91 92
92 - $a = MdEstatisticasColetarRN::getDirContents(DIR_SEI_CONFIG . '/../../sei'); 93 + $a = MdEstatisticasColetarRN::getDirContents(DIR_SEI_CONFIG . '/../../');
93 $objConfiguracaoSEI = ConfiguracaoSEI::getInstance(); 94 $objConfiguracaoSEI = ConfiguracaoSEI::getInstance();
94 95
95 if ($objConfiguracaoSEI->isSetValor('SEI','Modulos')){ 96 if ($objConfiguracaoSEI->isSetValor('SEI','Modulos')){
@@ -116,8 +117,8 @@ class MdEstatisticasColetarRN extends InfraRN @@ -116,8 +117,8 @@ class MdEstatisticasColetarRN extends InfraRN
116 $b[] = array('file' => $value, 117 $b[] = array('file' => $value,
117 'hash' => hash_file('sha256', $value), 118 'hash' => hash_file('sha256', $value),
118 'modulo' => $m, 119 'modulo' => $m,
119 - 'versao_modulo' => $version,  
120 - 'versao_sei' => SEI_VERSAO); 120 + 'versaoModulo' => $version,
  121 + 'versaoSei' => SEI_VERSAO);
121 } 122 }
122 123
123 return $b; 124 return $b;