From 83fa29d54c1b2406c66ed6ba7297715fc9575425 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 7 Feb 2025 18:33:23 -0700 Subject: [PATCH] updated deploy script. --- db-test/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db-test/index.php b/db-test/index.php index 3b51870..f41148b 100644 --- a/db-test/index.php +++ b/db-test/index.php @@ -3,6 +3,8 @@ require_once 'vendor/autoload.php'; $dotenv = Dotenv\Dotenv::createImmutable(__DIR__); $dotenv->safeLoad(); + +// Use environment variables for the database password and IP address. $db_pass = $_ENV['DATABASE_PASSWORD']; $ip_addr = $_ENV['IP_ADDRESS'];