Skip to content

Commit

Permalink
Correção do uso do namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
MárioGuilherme committed May 9, 2023
1 parent 861d235 commit b9481c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions API-Gateway-ChatGPT/App/Configs/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

declare(strict_types=1);

use Mario\ApiGatewayChatGpt\Core\Database;

// IMPORTA O AUTOLOAD E AS CONSTANTES PARA CONFIGURAÇÕES DO SISTEMA
require __DIR__ . "/../../vendor/autoload.php";
require __DIR__ . "/Vars.php";

// use App\Database\Database;
use Mario\ApiGatewayChatGpt\Core\Database;

// CONFIGURA EXIBIÇÃO DE ERROS, CONFIGURA D TIME ZONE E ESPECIFICAÇÕES LOCAIS E INICIA A SESSÃO
ini_set("display_errors", (string) IS_DEV_ENV);
Expand Down

0 comments on commit b9481c8

Please sign in to comment.