From 4bb7120881082a026ba0a45b4d386fc94b8f80fb Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Fri, 15 May 2026 16:01:21 -0400 Subject: [PATCH] fix .env issue --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 5f32a35..df11eda 100644 --- a/public/index.php +++ b/public/index.php @@ -4,7 +4,7 @@ declare(strict_types=1); require_once __DIR__ . '/../vendor/autoload.php'; -loadEnv(__DIR__ . '/../.env'); +loadEnv(__DIR__ . '/../' . (getenv('APP_ENV') === 'local' ? '.env' : '.env_prod')); // Start session with secure cookie settings before any output or auth checks. session()->start();