Commit e2677e9a85cf470811a9f8d7e62996d79610f735

Authored by Edmar Moretti
1 parent fc7d47b6

--no commit message

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
admin/php/criabanco.php
... ... @@ -114,8 +114,8 @@
114 114 //TODO nao funciona
115 115 //if(function_exists("SQLite3")){
116 116 //cria o banco de dados de metadados estatisticos
117   - //$banco = new SQLite3("../../admin/metaestat.db",SQLITE3_OPEN_CREATE);
118   - //$banco->close();
  117 + $banco = new SQLite3("../../admin/metaestat.db",SQLITE3_OPEN_CREATE);
  118 + $banco->close();
119 119 //}
120 120 //else{
121 121 //echo "<br>A fun&ccedil;&atilde;o de cria&ccedil;&atilde;o do banco sqlite3 n&atilde;o existe no PHP. N&atilde;o foi poss&iacute;vel criar o bando para o sistema de metadados.";
... ... @@ -127,7 +127,7 @@
127 127 include($conexaoadmin);
128 128 }
129 129 if(empty($dbhw)){
130   - echo "<br>Fim";
  130 + echo "<br>Fim";exit;
131 131 }
132 132 foreach($tabelas as $tabela){
133 133 if($dbhw->getAttribute(PDO::ATTR_DRIVER_NAME) == "pgsql"){
... ...