Commit 1d37e1714636604baccc8974595ea8638421afb7

Authored by Starlone Passos
1 parent 1e160782

Indicador 02: Obtendo tipo do sgbd

Showing 1 changed file with 10 additions and 1 deletions   Show diff stats
rn/MdEstatisticasColetarRN.php
... ... @@ -25,7 +25,8 @@ class MdEstatisticasColetarRN extends InfraRN {
25 25 'quantidadeUsuarios' => $this->obterQuantidadeUsuarios(),
26 26 'navegadores' => $this->obterNavegadores(),
27 27 'modulos' => $this->obterPlugins(),
28   - 'tamanhoFilesystem' => $this->obterTamanhoFileSystem()
  28 + 'tamanhoFilesystem' => $this->obterTamanhoFileSystem(),
  29 + 'bancoSEI' => $this->obterTipoSGBD()
29 30 );
30 31  
31 32 return $indicadores;
... ... @@ -154,5 +155,13 @@ class MdEstatisticasColetarRN extends InfraRN {
154 155 return $lista;
155 156 }
156 157  
  158 + private function obterTipoSGBD(){
  159 + $objConfiguracaoSEI = ConfiguracaoSEI::getInstance();
  160 + $sgbd = $objConfiguracaoSEI->getValor('BancoSEI','Tipo', false, '');
  161 + InfraDebug::getInstance()->gravar('SEI02 - SGBD: ' . $sgbd, InfraLog::$INFORMACAO);
  162 + return $sgbd;
  163 + }
  164 +
  165 +
157 166 }
158 167 ?>
... ...