Skip to content

Commit 6220f71

Browse files
committed
Cache configuration file when editing environment or mail settings.
1 parent e18391e commit 6220f71

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/Console/Commands/UpdateEmailSettings.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ public function handle()
155155

156156
file_put_contents($file, $envContents);
157157
$bar->finish();
158+
159+
$this->line('Updating evironment configuration cache file.');
160+
$this->call('config:cache');
158161
echo "\n";
159162
}
160163
}

app/Console/Commands/UpdateEnvironment.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ public function handle()
150150

151151
file_put_contents($file, $envContents);
152152
$bar->finish();
153+
154+
$this->line('Updating evironment configuration cache file.');
155+
$this->call('config:cache');
153156
echo "\n";
154157
}
155158
}

0 commit comments

Comments
 (0)