mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 21:33:44 +02:00
Cache configuration file when editing environment or mail settings.
This commit is contained in:
@@ -155,6 +155,9 @@ class UpdateEmailSettings extends Command
|
||||
|
||||
file_put_contents($file, $envContents);
|
||||
$bar->finish();
|
||||
|
||||
$this->line('Updating evironment configuration cache file.');
|
||||
$this->call('config:cache');
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,6 +150,9 @@ class UpdateEnvironment extends Command
|
||||
|
||||
file_put_contents($file, $envContents);
|
||||
$bar->finish();
|
||||
|
||||
$this->line('Updating evironment configuration cache file.');
|
||||
$this->call('config:cache');
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user