Fix to function calling
All checks were successful
Website Sync / website-sync (push) Successful in 6s

This commit is contained in:
2026-02-04 17:18:43 -03:00
parent 70f7d4bc03
commit 70c9908df7
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@
declare(strict_types=1);
require_once "var_loading.inc.php";
loadEnvironment(".env");
$host = $_ENV["DB_HOST"];
$protocol = $_ENV["DB_PROTOCOL"];

View File

@@ -33,8 +33,8 @@ function loadEnvironment($path) {
}
// Load at application bootstrap
# Not sure either
# Load the function itself.
loadEnvironment(__DIR__ . '/.env');
// First found on ttps://levelup.gitconnected.com/how-to-securely-handle-production-credentials-in-php-without-exposing-them-in-git-237f4fd5cf91,
// Own comments using #
# First found on ttps://levelup.gitconnected.com/how-to-securely-handle-production-credentials-in-php-without-exposing-them-in-git-237f4fd5cf91,
# Own comments using #