Commit 71c13950 authored by Nicolas Widart's avatar Nicolas Widart

Merge commit '2bfdae8a'

* commit '2bfdae8a':
  Squashed 'Modules/Core/' changes from 1f638cf..bf0bbd2
parents 9089d6fe 2bfdae8a
<?php namespace Modules\Core\Console; <?php namespace Modules\Core\Console;
use Dotenv;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem; use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Hash;
...@@ -154,6 +155,8 @@ class InstallCommand extends Command ...@@ -154,6 +155,8 @@ class InstallCommand extends Command
*/ */
private function configureEnvironmentFile($databaseName, $databaseUsername, $databasePassword) private function configureEnvironmentFile($databaseName, $databaseUsername, $databasePassword)
{ {
Dotenv::makeMutable();
$environmentFile = $this->finder->get('.env.example'); $environmentFile = $this->finder->get('.env.example');
$search = [ $search = [
...@@ -174,6 +177,8 @@ class InstallCommand extends Command ...@@ -174,6 +177,8 @@ class InstallCommand extends Command
$this->finder->delete('env.example'); $this->finder->delete('env.example');
$this->info('Environment file written'); $this->info('Environment file written');
Dotenv::makeImmutable();
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment