mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Use setting app name or fallback to the app name
This commit is contained in:
parent
8fc8d81628
commit
100c4c8931
@ -97,7 +97,10 @@ class ConfigServiceProvider extends ServiceProvider
|
||||
|
||||
// Set the mail from name.
|
||||
if (!$this->app->config->get('mail.from.name')) {
|
||||
$this->app->config->set('mail.from.name', $this->app->config->get('app.name'));
|
||||
$this->app->config->set(
|
||||
'mail.from.name',
|
||||
$this->app->config->get('setting.app_name', $this->app->config->get('app.name'))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user