Cleanup settings use in panel.
This commit is contained in:
parent
59b50ca75e
commit
1b9b92ac62
9 changed files with 36 additions and 17 deletions
|
@ -64,10 +64,6 @@ class SettingsServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot(ConfigRepository $config, Encrypter $encrypter, SettingsRepositoryInterface $settings)
|
||||
{
|
||||
if ($config->get('pterodactyl.load_environment_only', false)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Only set the email driver settings from the database if we
|
||||
// are configured using SMTP as the driver.
|
||||
if ($config->get('mail.driver') === 'smtp') {
|
||||
|
|
Reference in a new issue