Mise à jour de 'Sources/config/config.php'
continuous-integration/drone/push Build is passing Details

master
David D'ALMEIDA 9 months ago
parent f80492db66
commit 134f3ae997

@ -5,7 +5,7 @@ use Shared\Log;
$dotenv = Dotenv::createUnsafeImmutable(__DIR__,'.env');
$dotenv->safeLoad();
echo($dotenv);
echo($_ENV);
// apenrently getEnv is not a good thing cause
// const DB_HOST = $_ENV['DB_HOST'] ?? 'localhost';
// const DB_DATABASE = $_ENV['DB_DATABASE'] ?? 'heartTrack';

Loading…
Cancel
Save