@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | use Symfony\Component\Dotenv\Dotenv; |
5 | 5 | use Symfony\Component\HttpFoundation\Request; |
6 | 6 | |
7 | -require __DIR__.'/../vendor/autoload.php'; |
|
7 | +require __DIR__ . '/../vendor/autoload.php'; |
|
8 | 8 | |
9 | 9 | // The check is to ensure we don't use .env in production |
10 | 10 | if (!isset($_SERVER['APP_ENV']) && !isset($_ENV['APP_ENV'])) { |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.'); |
13 | 13 | } |
14 | 14 | |
15 | - $envFile = file_exists(__DIR__.'/../.env') ? __DIR__.'/../.env' : __DIR__.'/../.env.dist'; |
|
15 | + $envFile = file_exists(__DIR__ . '/../.env') ? __DIR__ . '/../.env' : __DIR__ . '/../.env.dist'; |
|
16 | 16 | (new Dotenv())->load($envFile); |
17 | 17 | } |
18 | 18 |