Update: 2026-05-14 19:50:44
This commit is contained in:
@@ -6,7 +6,7 @@ require_once __DIR__ . '/../vendor/autoload.php';
|
||||
use Dotenv\Dotenv;
|
||||
|
||||
// Load environment variables from .env (located one level above the project root)
|
||||
$dotenv = Dotenv::createImmutable(__DIR__ . '/../../..');
|
||||
$dotenv = Dotenv::createImmutable(__DIR__ . '/../../../..');
|
||||
$dotenv->load();
|
||||
|
||||
$host = $_ENV['DB_HOST'] ?? 'localhost';
|
||||
|
||||
Reference in New Issue
Block a user