@@ -5,13 +5,13 @@ |
||
5 | 5 | |
6 | 6 | session_start(); |
7 | 7 | |
8 | -require __DIR__.'/../vendor/autoload.php'; |
|
8 | +require __DIR__ . '/../vendor/autoload.php'; |
|
9 | 9 | |
10 | 10 | if (!isset($_SERVER['APP_ENV'])) { |
11 | 11 | if (!class_exists(Dotenv::class)) { |
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 | - (new Dotenv())->loadEnv(__DIR__.'/../.env'); |
|
14 | + (new Dotenv())->loadEnv(__DIR__ . '/../.env'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | $app = new Application($_SERVER['APP_ENV'] ?? 'dev'); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | $response = new Response(); |
48 | 48 | |
49 | - (new Dotenv())->loadEnv(__DIR__.'/../.env'); |
|
49 | + (new Dotenv())->loadEnv(__DIR__ . '/../.env'); |
|
50 | 50 | |
51 | 51 | $app = new Application('test'); |
52 | 52 |