Browse Source

fix .env issue

Customer_Type_Lookup
Daniel Covington 2 weeks ago
parent
commit
4bb7120881
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/index.php

+ 1
- 1
public/index.php View File

@@ -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();


Loading…
Cancel
Save

Powered by TurnKey Linux.