Commit ff0a98f047b27ac16b0dd605d5365ded18bc903e
1 parent
01091b10
Exists in
master
and in
7 other branches
Correção na string de conexão
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
classesphp/funcoes_gerais.php
... | ... | @@ -2821,9 +2821,10 @@ Retorno: |
2821 | 2821 | Array originada de fetchAll |
2822 | 2822 | */ |
2823 | 2823 | function pegaDadosAdminKey($sql,$subsEsquema){ |
2824 | + //pegaDadosAdminKey("select codigo_tema,link_tema from __esq__i3geoadmin_temas","__esq__"); | |
2824 | 2825 | $resultado = array(); |
2825 | 2826 | include(dirname(__FILE__)."/../admin/php/conexao.php"); |
2826 | - $sql = str_replace($subsEsquema,$conexaoadmin,$sql); | |
2827 | + $sql = str_replace($subsEsquema,$esquemaadmin,$sql); | |
2827 | 2828 | error_reporting(0); |
2828 | 2829 | $q = $dbh->query($sql,PDO::FETCH_ASSOC); |
2829 | 2830 | if($q){ | ... | ... |