Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
Liesel Downes committed Feb 27, 2022
1 parent 619c83c commit 0f10092
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
$dotenv = \Dotenv\Dotenv::createImmutable('../');
$dotenv->load();

$host = $_ENV('MYSQL_HOST');
$db = $_ENV('MYSQL_DB');
$username = $_ENV('MYSQL_USER');
$pass = $_ENV('MYSQL_PASS');
$host = $_ENV['MYSQL_HOST'];
$db = $_ENV['MYSQL_DB'];
$username = $_ENV['MYSQL_USER'];
$pass = $_ENV['MYSQL_PASS'];

$dsn = "mysql:host=$host;dbname=$db";
$opt = [
Expand Down

0 comments on commit 0f10092

Please sign in to comment.