Browse Source

PHP dotenv v4 compatibility

baijunyao 5 years ago
parent
commit
49dd35b8b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Envoy.blade.php

+ 1 - 1
Envoy.blade.php

@@ -1,6 +1,6 @@
 @setup
     require __DIR__.'/vendor/autoload.php';
-    $dotenv = Dotenv\Dotenv::create(__DIR__);
+    $dotenv = Dotenv\Dotenv::create(Illuminate\Support\Env::getRepository(), __DIR__);
     try {
         $dotenv->load();
         $dotenv->required(['DEPLOY_IP', 'DEPLOY_PORT', 'DEPLOY_USER', 'DEPLOY_PATH', 'DEPLOY_BRANCH'])->notEmpty();