diff --git a/app/Core/Application.php b/app/Core/Application.php index 3357ac7..95b2503 100644 --- a/app/Core/Application.php +++ b/app/Core/Application.php @@ -14,8 +14,8 @@ final class Application public function __construct(string $basePath) { - // 1. Load Environment Variables - $dotenv = Dotenv::createImmutable($basePath); + // 1. Load Environment Variables (Look one level up from Application folder) + $dotenv = Dotenv::createImmutable(dirname($basePath)); $dotenv->load(); // 2. Set Timezone