Completed
Push — 1.3 ( a70949...76b136 )
by Kamil
23:29 queued 06:52
created
public/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.