mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 17:42:33 +01:00
Cache configuration file when editing environment or mail settings.
This commit is contained in:
parent
e18391e98a
commit
6220f710df
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user